index
:
ruby.git
master
ruby_1_3
ruby_1_4
ruby_1_6
ruby_1_8
ruby_1_8_5
ruby_1_8_6
ruby_1_8_7
ruby_1_9_1
ruby_1_9_2
ruby_1_9_3
ruby_2_0_0
ruby_2_1
ruby_2_2
ruby_2_3
ruby_2_4
ruby_2_5
ruby_2_6
ruby_2_7
ruby_3_0
ruby_3_1
ruby_3_2
ruby_3_3
v1_0r
v1_1dev
v1_1r
The Ruby Programming Language
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
test
/
ruby
/
test_float.rb
Age
Commit message (
Expand
)
Author
2016-02-26
numeric.c: wrong type step should raise TypeError
nobu
2015-12-16
Add frozen_string_literal: false for all files
naruse
2015-05-17
numeric.c: Numeric#positive? and Numeric#negative?
nobu
2015-03-18
* remove trailing spaces.
svn
2015-03-18
hash.c: same hash values with Float#hash
nobu
2014-11-13
* test/lib/envutil.rb: Moved from test/ruby/.
akr
2014-08-01
numeric.c: 0 % Float::NAN returns Float::NAN
nobu
2014-08-01
add assertions for division NaN
nobu
2014-05-18
* configure.in: Check nextafter() availability.
akr
2014-03-04
* test/ruby: get rid of warnings.
usa
2013-12-13
test/ruby: better assertions
nobu
2013-11-22
util.c: ignore too long fraction part
nobu
2013-09-07
numeric.c: no extra checks
nobu
2013-09-02
Retain behavior of Numeric#step when nil is given as second argument.
knu
2013-09-02
Fix and add tests for Numeric#step.
knu
2012-11-07
Suppress warning: Bignum out of Float range
naruse
2012-11-07
* numeric.c (ruby_float_step): fix r37514: it yielded with NaN
naruse
2012-08-23
* test/ruby/test_fixnum.rb (TestFixnum#test_singleton_method): new test.
usa
2012-07-16
* bignum.c (rb_big_float_cmp): compare an integer and float precisely.
akr
2012-03-14
* numeric.c: fix flodivmod for cornercases [Bug #6044]
marcandre
2011-11-22
Fix for r33811.
naruse
2011-11-22
* numeric.c (ruby_float_step): improve floating point calculations.
naruse
2011-10-05
Revert r33407; half-baked patch.
naruse
2011-10-05
* numeric.c (ruby_float_step): improve floating point calculations.
naruse
2011-09-05
* test/ruby/test_float.rb (TestFloat#test_round): show the number in question.
nobu
2011-09-01
* numeric.c (flo_round): substitute machine dependent magic number.
nobu
2011-05-29
* numeric.c (flo_round): fix for negative value.
nobu
2011-03-22
* numeric.c (flo_round): fix inaccurate results.
nobu
2011-01-24
* error.c (rb_invalid_str): prevent intermediate variable from GC.
nobu
2010-10-30
* util.c (ruby_strtod): get rid of overflow/underflow as possible.
nobu
2010-10-20
* util.c (ruby_strtod): reject 0x1.p+0. [ruby-dev:42432] #3966
naruse
2010-09-13
* util.c (ruby_strtod): reject Float('0x0.').
naruse
2010-09-06
* util.c (ruby_strtod): check there is at least 1 digit after
naruse
2010-09-06
* util.c (ruby_strtod): check integr overflow.
naruse
2010-08-23
* util.c (ruby_strtod): make sure to have digit-sequence after 'p'
naruse
2010-07-24
* numeric.c (flo_cmp): honor the result of infinite? method of the
nobu
2010-07-24
* test/ruby/envutil.rb (EnvUtil#.suppress_warning): added.
nobu
2010-05-12
* numeric.c (flo_to_s): make minimum string representation.
nobu
2010-04-29
* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):
nobu
2010-04-29
* test/ruby: fixed nonsense assertions.
nobu
2010-04-01
* object.c (rb_cstr_to_dbl): return 0.0 if hexadecimal and
naruse
2009-12-29
Add Float::INFINITY and Float::NAN.
naruse
2009-06-17
* numeric.c (flo_cmp): Infinity is greater than any bignum
matz
2009-05-09
* test/ruby/test_float.rb (TestFloat#test_sleep_with_Float): add a
kazu
2009-03-14
* test/ruby/test_float.rb (TestFloat#test_to_s): precision was
nobu
2008-11-27
* numeric.c (flodivmod): floating point division should raise
matz
2008-09-19
* prec.c: removed. Precision will be redesigned and be back again.
yugui
2008-06-10
* test/ruby/test_float.rb: add tests. [ruby-dev:35009]
kazu
2008-05-16
* math.c (to_flo): rb_Float() accepts even strings for input.
matz
2008-05-14
* test/ruby/test_object.rb: new tests to achieve over 90% test
mame
[next]