aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_rational.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* revert some teststadf2012-06-221-2/+0
* * complex.c: wrote Complex#_dump and Complex::load. But nowtadf2012-06-031-0/+2
* * complex.c (nucomp_marshal_load): [ruby-core:45394]tadf2012-06-031-0/+5
* * rational.c (nurat_coerce): Rational#coerce should converts itselfmrkn2011-08-171-0/+4
* * test/ruby/test_{complex,rational}.rb: added tests.tadf2011-05-091-0/+14
* added some tests.tadf2010-11-221-0/+20
* * rational.c (nurat_div): divided by infinity should be zero.nobu2010-08-061-0/+3
* * rational.c (nurat_div): divided by float zero should benobu2010-08-061-0/+4
* * complex.c (nucomp_marshal_load): should check the argument.nobu2010-08-051-0/+5
* * complex.c, rational.c, lib/cmath.rb, lib/date.rb lib/date/delta*:tadf2010-04-261-0/+55
* * complex.c, ratioanl.c: reverted experimental r24565.tadf2010-04-251-55/+0
* suppress warnings.akr2010-01-261-1/+1
* * test/ruby/test_complex.rb (@unify): fix the detection if mathyugui2009-11-261-1/+2
* * complex.c (nucomp_rationalize) added. [experimental]tadf2009-08-161-0/+55
* * complex.c (nucomp_hash), rational.c (nurat_hash): not to usenobu2009-07-251-0/+4
* * rational.c: renamed equal_p to eqeq_p.tadf2009-07-031-1/+1
* * rational.c (nurat_cmp): use rb_num_coerce_cmp.tadf2009-06-271-0/+3
* * rational.c (nurat_s_convert): calls to_r when the given argumenttadf2009-06-181-2/+2
* * complex.c (nucomp_coerce): accepts Complex instances.tadf2009-06-161-0/+6
* removed extra spaces.tadf2009-06-071-4/+4
* * test/ruby/test_complex.rb: added some tests.tadf2008-12-041-0/+14
* revert.tadf2008-12-031-3/+0
* * test/ruby/test_rational.rb: add a test.mame2008-12-021-0/+3
* trivial changes.tadf2008-11-101-1/+1
* * complex.c (nucomp_s_canonicalize_internal): does no applytadf2008-09-231-131/+21
* * complex.c (nucomp_s_canonicalize_internal): checks exactness oftadf2008-09-211-28/+47
* * prec.c: removed. Precision will be redesigned and be back again.yugui2008-09-191-10/+0
* * numeric.c: provides predicate real? instead of scalar?.tadf2008-09-161-4/+6
* * complex.c (nucomp_marshal_{dump,load}): preserve instancetadf2008-09-161-0/+2
* * complex.c: refined.tadf2008-09-131-1/+1
* * rational.c: removed unused code.tadf2008-09-071-11/+25
* * complex.c: uses f_real_p macro.tadf2008-09-051-0/+7
* * complex.c (numeric_abs2): new.tadf2008-08-311-2/+6
* removed some lines which gain the score of coverage.tadf2008-08-291-104/+0
* * complex.c ({nucomp,numeric}_rect): new.tadf2008-08-291-41/+149