summaryrefslogtreecommitdiff
path: root/rational.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* Add `exception:` keyword in Kernel#Rational()mrkn2018-03-151-37/+110
* Removed useless assertions [ci skip]nobu2018-03-091-2/+0
* rational.c: removed redundant conditionsnobu2018-03-091-23/+10
* complex.c, rational.c: no backrefnobu2018-03-071-6/+1
* complex.c, rational.c: adjust indentnobu2018-03-071-1/+1
* complex.c, rational.c: simplified macro conditionsnobu2018-03-071-4/+0
* Support two `to_r`-responding args in Rational()mrkn2018-02-271-0/+6
* defs/id.def: predefine to_f IDnobu2018-02-271-1/+1
* complex.c, rational.c: remove dead codemrkn2018-02-241-90/+0
* rational.c: simplify a branch conditionmrkn2018-02-241-1/+1
* rational.c: removed needless calcnobu2018-02-241-1/+1