aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_float.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* * util.c (ruby_strtod): make sure to have digit-sequence after 'p'naruse2010-08-231-0/+2
* * numeric.c (flo_cmp): honor the result of infinite? method of thenobu2010-07-241-0/+14
* * test/ruby/envutil.rb (EnvUtil#.suppress_warning): added.nobu2010-07-241-2/+5
* * numeric.c (flo_to_s): make minimum string representation.nobu2010-05-121-0/+7
* * lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):nobu2010-04-291-2/+2
* * test/ruby: fixed nonsense assertions.nobu2010-04-291-2/+2
* * object.c (rb_cstr_to_dbl): return 0.0 if hexadecimal andnaruse2010-04-011-0/+12
* Add Float::INFINITY and Float::NAN.naruse2009-12-291-11/+11
* * numeric.c (flo_cmp): Infinity is greater than any bignummatz2009-06-171-0/+5
* * test/ruby/test_float.rb (TestFloat#test_sleep_with_Float): add akazu2009-05-091-0/+5
* * test/ruby/test_float.rb (TestFloat#test_to_s): precision wasnobu2009-03-141-1/+1
* * numeric.c (flodivmod): floating point division should raisematz2008-11-271-3/+1
* * prec.c: removed. Precision will be redesigned and be back again.yugui2008-09-191-7/+0
* * test/ruby/test_float.rb: add tests. [ruby-dev:35009]kazu2008-06-101-0/+3
* * math.c (to_flo): rb_Float() accepts even strings for input.matz2008-05-161-1/+1
* * test/ruby/test_object.rb: new tests to achieve over 90% testmame2008-05-141-0/+22