summaryrefslogtreecommitdiff
path: root/rational.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* Expanded f_ceilNobuyoshi Nakada2019-08-021-8/+10
* Use RB_INTEGER_TYPE_PNobuyoshi Nakada2019-08-021-1/+6
* Expanded f_modNobuyoshi Nakada2019-08-021-8/+7
* Expanded f_numeratorNobuyoshi Nakada2019-07-161-3/+3
* Expanded f_denominatorNobuyoshi Nakada2019-07-161-3/+3
* Check exception flag as a bool [Bug #15987]Nobuyoshi Nakada2019-07-111-7/+1
* No TypeError at nil if exception: falsenobu2019-01-121-1/+3
* Remove duplicate macro definitionnobu2019-01-091-2/+0
* complex.c: Optimize Complex#* and Complex#**mrkn2019-01-031-4/+4
* [DOC] Add `or nil` to call-seq [ci skip]kazu2019-01-031-2/+2
* delete emacs mode lines [ci skip]shyouhei2018-12-271-6/+0
* {complex,object,rational}.c: document exception: falsenormal2018-12-221-2/+4
* Use idExceptionnobu2018-12-221-1/+1
* Prefer rb_check_arity when 0 or 1 argumentsnobu2018-12-061-10/+6
* Prefer rb_check_arity when 0 or 1 argumentsnobu2018-12-041-2/+2
* rational.c (nurat_div): use the dedicated function nurat_to_fnobu2018-11-141-4/+3
* * expand tabs.svn2018-11-141-4/+4
* numeric.c: avoid division by zeroshyouhei2018-11-141-3/+6
* refine parse_ratnobu2018-11-081-25/+40
* complex.c: small optimization of Complex#**nobu2018-10-201-2/+3
* Remove wrong conversionnobu2018-10-051-2/+1
* Fix Rational of Floatnobu2018-10-021-3/+18
* rational.c: may be floatnobu2018-09-291-0/+10
* Split assertion expressionsnobu2018-09-291-2/+2
* rational.c: remove duplicate macrosnobu2018-09-041-3/+0
* complex.c: simplify division resultnobu2018-09-011-0/+9