aboutsummaryrefslogtreecommitdiffstats
path: root/rational.c
Commit message (Expand)AuthorAgeFilesLines
* [Feature #19474] Refactor NEWOBJ macrosMatt Valentine-House2023-04-061-1/+2
* [DOC] Enhanced RDoc for NilClass (#7500)Burdette Lamar2023-03-131-5/+12
* Remove (newly unneeded) remarks about aliasesBurdetteLamar2023-02-191-1/+0
* Using UNDEF_P macroS-H-GAMELINKS2022-11-161-5/+5
* Improve performance some `Integer` and `Float` methods [Feature #19085] (#6638)S.H2022-10-271-27/+0
* Expand tabs [ci skip]Takashi Kokubun2022-07-211-373/+373
* Disable GMP by -DUSE_GMP=0Nobuyoshi Nakada2022-05-201-3/+9
* [DOC] Fix broken links to literals.rdocNobuyoshi Nakada2022-02-081-1/+1
* [DOC] Simplify links to global methodsNobuyoshi Nakada2022-02-081-1/+1
* Adding links to literals and Kernel (#5192)Burdette Lamar2021-12-031-4/+10
* Using RB_BIGNUM_TYPE_P macroS-H-GAMELINKS2021-09-111-3/+3
* Make internal predicate functions to return simple booleanNobuyoshi Nakada2021-09-021-1/+1
* Remove unneeded comments in rational.cS-H-GAMELINKS2021-08-311-4/+0
* Use C99-defined macros to classify a floating-point numberNobuyoshi Nakada2021-08-271-2/+2
* Replace f_boolcast with RBOOL macroS.H2021-08-181-6/+5
* Use Rational for Float#round with ndigits > 14Jeremy Evans2021-08-061-0/+6
* Use predefined IDsNobuyoshi Nakada2021-07-271-2/+2
* cdhash_cmp: can take rational literals卜部昌平2021-05-121-3/+10
* Rationalize floats in coerce [Bug #17572]Nobuyoshi Nakada2021-01-231-5/+11
* Make reciprocal properly of non-integral rational [Bug #17572]Nobuyoshi Nakada2021-01-231-1/+1
* Follow the NDEBUG given to the wholeNobuyoshi Nakada2021-01-071-2/+0
* Fix ArithmeticSequence#last and ArithmeticSequence#each for non-integer seque...Kenta Murata2020-12-091-8/+20
* Removed canonicalization for mathnNobuyoshi Nakada2020-11-101-32/+3
* rational.c: convert a numerator to rational before calling fdiv in Kernel.Rat...Kenta Murata2020-10-261-1/+9
* rational.c: try converting by to_int in Rational() (#3684)Kenta Murata2020-10-221-3/+31
* Don't redefine #rb_intern over and over againStefan Stüben2020-10-211-7/+4
* RARRAY_AREF: convert into an inline function卜部昌平2020-08-151-0/+1
* Reduced working `Rational` object allocationsNobuyoshi Nakada2020-07-011-15/+28
* Renamed `nurat_sub` compliant with `rb_rational_plus`Nobuyoshi Nakada2020-07-011-3/+3
* Added a few integer case short-circuitsNobuyoshi Nakada2020-07-011-1/+9
* Replaced f_odd_p with rb_int_odd_pNobuyoshi Nakada2020-07-011-10/+1
* parse_rat: do not goto into a branch卜部昌平2020-06-291-12/+15
* rb_rational_cmp: do not goto into a branch卜部昌平2020-06-291-10/+11
* sed -i 's|ruby/impl|ruby/internal|'卜部昌平2020-05-111-1/+1
* sed -i s|ruby/3|ruby/impl|g卜部昌平2020-05-111-1/+1
* reroute redefinition of NDEBUG卜部昌平2020-04-211-0/+1
* Merge pull request #2991 from shyouhei/ruby.h卜部昌平2020-04-081-3/+2
* rb_rational_raw: convert num and den by to_intKenta Murata2020-01-171-0/+4
* rb_rational_raw: make a denominator always positiveKenta Murata2020-01-171-0/+4
* internal/rational.h: insert assertions in RATIONAL_SET_{NUM,DEN}Kenta Murata2020-01-171-1/+0
* rational.c: remove nurat_s_newKenta Murata2020-01-171-33/+13
* Make RATIONAL_SET_{NUM,DEN} static inline functionsKenta Murata2020-01-171-4/+4
* decouple internal.h headers卜部昌平2019-12-261-8/+15
* Deprecate taint/trust and related methods, and make the methods no-opsJeremy Evans2019-11-181-1/+0
* Make rb_scan_args handle keywords more similar to Ruby methods (#2460)Jeremy Evans2019-09-251-1/+1
* rb_numeric_quo: support ComplexNobuyoshi Nakada2019-08-101-0/+4
* Predefine some IDsNobuyoshi Nakada2019-08-031-4/+5
* Make float_decode_internal mantissa intNobuyoshi Nakada2019-08-021-21/+17
* Deduplicate common codeNobuyoshi Nakada2019-08-021-13/+5
* Expanded f_quoNobuyoshi Nakada2019-08-021-1/+10