Project

General

Profile

« Previous | Next » 

Revision 033244c1

Added by naruse (Yui NARUSE) over 12 years ago

  • numeric.c (ruby_float_step): improve floating point calculations.
    [ruby-core:35753] [Bug #4576]

  • numeric.c (ruby_float_step): correct the error of floating point
    numbers on the excluding case.
    patched by Masahiro Tanaka [ruby-core:39608]

  • numeric.c (ruby_float_step): use the end value when the current
    value is greater than or equal to the end value.
    patched by Akira Tanaka [ruby-core:39612]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e