aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_float.rb
Commit message (Expand)AuthorAgeFilesLines
* numeric.c: fix for small numbernobu2017-05-271-0/+4
* Merge latest dtoa.c [Bug #13545]naruse2017-05-191-0/+2
* no longer rescue exceptions of #coerce in Integer#steperegon2017-04-251-1/+1
* object.c: make String#to_f consistent with literalnobu2017-03-151-0/+6
* test_float.rb: add test cases for Float#roundyui-knk2016-12-221-0/+21
* numeric.c: allow nil as rounding mode optionnobu2016-12-211-2/+2
* numeric.c: fix exception message for nil roundingmrkn2016-12-061-0/+3
* round-downnobu2016-11-251-0/+21
* numeric.c: refine error messagenobu2016-11-211-0/+6
* numeric.c: round to nearest evennobu2016-11-051-0/+42
* numeric.c: infinite recursionnobu2016-08-131-0/+17
* numeric.c: round nearly middle valuenobu2016-07-071-0/+5
* numeric.c: flo_truncatenobu2016-04-181-0/+26
* test_float.rb: assertions for negative floatsnobu2016-04-181-0/+14
* numeric.c: flo_ceilnobu2016-04-131-0/+21
* numeric.c: flo_floornobu2016-04-131-0/+22
* numeric.c: wrong type step should raise TypeErrornobu2016-02-261-1/+1
* Add frozen_string_literal: false for all filesnaruse2015-12-161-0/+1
* numeric.c: Numeric#positive? and Numeric#negative?nobu2015-05-171-0/+24
* * remove trailing spaces.svn2015-03-181-1/+1
* hash.c: same hash values with Float#hashnobu2015-03-181-0/+8
* * test/lib/envutil.rb: Moved from test/ruby/.akr2014-11-131-1/+0
* numeric.c: 0 % Float::NAN returns Float::NANnobu2014-08-011-0/+6
* add assertions for division NaNnobu2014-08-011-2/+15
* * configure.in: Check nextafter() availability.akr2014-05-181-0/+35
* * test/ruby: get rid of warnings.usa2014-03-041-6/+6
* test/ruby: better assertionsnobu2013-12-131-31/+31
* util.c: ignore too long fraction partnobu2013-11-221-0/+6
* numeric.c: no extra checksnobu2013-09-071-1/+1
* Retain behavior of Numeric#step when nil is given as second argument.knu2013-09-021-0/+3
* Fix and add tests for Numeric#step.knu2013-09-021-3/+0
* Suppress warning: Bignum out of Float rangenaruse2012-11-071-4/+6
* * numeric.c (ruby_float_step): fix r37514: it yielded with NaNnaruse2012-11-071-0/+4
* * test/ruby/test_fixnum.rb (TestFixnum#test_singleton_method): new test.usa2012-08-231-0/+7
* * bignum.c (rb_big_float_cmp): compare an integer and float precisely.akr2012-07-161-0/+49
* * numeric.c: fix flodivmod for cornercases [Bug #6044]marcandre2012-03-141-0/+12
* Fix for r33811.naruse2011-11-221-0/+2
* * numeric.c (ruby_float_step): improve floating point calculations.naruse2011-11-221-0/+29
* Revert r33407; half-baked patch.naruse2011-10-051-31/+0
* * numeric.c (ruby_float_step): improve floating point calculations.naruse2011-10-051-0/+31
* * test/ruby/test_float.rb (TestFloat#test_round): show the number in question.nobu2011-09-051-4/+5
* * numeric.c (flo_round): substitute machine dependent magic number.nobu2011-09-011-0/+13
* * numeric.c (flo_round): fix for negative value.nobu2011-05-291-0/+1
* * numeric.c (flo_round): fix inaccurate results.nobu2011-03-221-0/+2
* * error.c (rb_invalid_str): prevent intermediate variable from GC.nobu2011-01-241-0/+5
* * util.c (ruby_strtod): get rid of overflow/underflow as possible.nobu2010-10-301-1/+8
* * util.c (ruby_strtod): reject 0x1.p+0. [ruby-dev:42432] #3966naruse2010-10-201-2/+4
* * util.c (ruby_strtod): reject Float('0x0.').naruse2010-09-131-1/+7
* * util.c (ruby_strtod): check there is at least 1 digit afternaruse2010-09-061-0/+1
* * util.c (ruby_strtod): check integr overflow.naruse2010-09-061-0/+1