summaryrefslogtreecommitdiff
path: root/rational.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* rational.c: segfault on Rational exponentnobu2018-02-241-8/+14
* [DOC] nodoc internal methods/classesnobu2018-02-231-0/+1
* force fixablenobu2018-01-301-1/+1
* use predefined IDskazu2018-01-221-3/+3
* add missing/nan.cshyouhei2018-01-201-4/+0
* INFINITY is float. That of double is HUGE_VAL.shyouhei2018-01-191-1/+6
* freeze Complex and Rationalnobu2017-10-191-0/+2
* Improve performance of implicit type conversionwatson19782017-05-311-1/+2
* Improve performance of some Time & Rational methodswatson19782017-05-271-5/+25
* Improve performance of some Time methodswatson19782017-05-271-3/+3
* rational.c: canonicalization casenobu2017-05-011-2/+12
* improve docs for #truncate, #floor, and #ceil methodsstomar2017-04-031-9/+27
* improve docs for #round methodsstomar2017-04-031-12/+20
* rational.c: improves Rational#round rdoc [ci skip]nobu2017-04-011-4/+14