aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_rational.rb
Commit message (Expand)AuthorAgeFilesLines
* test/ruby/test_rational.rb: Prevent "assigned but unused variable"Yusuke Endoh2020-10-281-1/+1
* rational.c: convert a numerator to rational before calling fdiv in Kernel.Rat...Kenta Murata2020-10-261-0/+8
* rational.c: try converting by to_int in Rational() (#3684)Kenta Murata2020-10-221-0/+19
* Check exception flag as a bool [Bug #15987]Nobuyoshi Nakada2019-07-111-0/+6
* No TypeError at nil if exception: falsenobu2019-01-121-0/+6
* refine parse_ratnobu2018-11-081-0/+3
* bignum.c: Bignum#fdiv avoids double division when divisor is bignummame2018-04-041-0/+1
* Add `exception:` keyword in Kernel#Rational()mrkn2018-03-151-0/+24
* Support two `to_r`-responding args in Rational()mrkn2018-02-271-0/+25
* test for r62555nobu2018-02-241-0/+1
* rational.c: segfault on Rational exponentnobu2018-02-241-0/+4
* force fixablenobu2018-01-301-1/+3
* Fix a typoyui-knk2018-01-241-1/+1
* freeze Complex and Rationalnobu2017-10-191-4/+0
* rational.c: float denomnobu2017-03-161-1/+13
* rational.c: read_numnobu2017-03-161-0/+16
* test_rational.rb: invalid exponentnobu2017-03-161-0/+4
* test_rational.rb: duplicate assertionsnobu2017-03-161-36/+0
* rational.c: zero divisionnobu2017-03-161-0/+5
* test_rational.rb: shortennobu2017-03-161-93/+98
* rational.c: infinity in powernobu2017-02-221-0/+2
* rational.c: infinity in powernobu2017-02-221-0/+6
* test_rational.rb: messagesnobu2017-01-161-93/+93
* rational.c: memory leak in gcdnobu2016-12-301-0/+10
* numeric.c: reduce fdivnobu2016-12-281-0/+7
* internal.h: change the default rounding mode to half-upmrkn2016-12-101-2/+2
* get rid of ambiguous parentheses warningsnobu2016-11-291-1/+1
* round-downnobu2016-11-251-6/+7
* rational.c: check loadnobu2016-11-111-0/+8
* numeric.c: round to nearest evennobu2016-11-051-10/+13
* refine assertionsnobu2016-10-241-23/+23
* numeric.c, complex.c: Add finite? and infinite? consistent with Floatmrkn2016-07-171-0/+9
* hash method valuesnobu2016-05-211-1/+1
* Use Integer instead of Fixnum and Bignum.akr2016-05-171-1/+1
* assertions.rb: set default internal encodingnobu2016-04-091-3/+1
* test/ruby: suppress runtime warningsnobu2016-02-191-1/+2
* test/ruby: suppress parser warningsnobu2016-02-191-1/+1
* Add frozen_string_literal: false for all filesnaruse2015-12-161-0/+1
* test_rational.rb: fix default externalnobu2015-09-121-1/+5
* test_rational.rb: r51828nobu2015-09-121-0/+1
* numeric.c: Numeric#positive? and Numeric#negative?nobu2015-05-171-0/+10
* * test/ruby/test_complex.rb: removed unreachable code.hsbt2014-08-271-118/+50
* * test/ruby/test_complex.rb: cherry-picked working assertions from r47251.hsbt2014-08-261-0/+2
* * test/ruby/test_complex.rb: removed needless conditions.hsbt2014-08-241-37/+16
* * test/ruby/test_rational.rb: fixed indent.hsbt2014-08-241-6/+6
* * test/ruby/test_rational.rb: remove commented-out code.hsbt2014-08-241-155/+0
* test/ruby: better assertionsnobu2013-12-131-6/+6
* * rational.c (nurat_expt): Deal with special cases for rationals 0, ±1marcandre2013-02-051-0/+20
* test_complex.rb, test_rational.rb: revert some assertionsnobu2012-07-261-1/+5
* complex.c, rational.c: compatible marshal loadernobu2012-07-251-7/+8