mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* bignum.c (dbl2big): A condition simplified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0df9d81534
commit
ff84827eb6
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Wed Aug 7 19:29:26 2013 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* bignum.c (dbl2big): A condition simplified.
|
||||
|
||||
Wed Aug 7 16:34:30 2013 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* test/webrick/test_cgi.rb (TestWEBrickCGI#{start_cgi_server,test_cgi}):
|
||||
|
|
2
bignum.c
2
bignum.c
|
@ -4749,7 +4749,7 @@ dbl2big(double d)
|
|||
rb_raise(rb_eFloatDomainError, "NaN");
|
||||
}
|
||||
|
||||
while (!POSFIXABLE(u) || 0 != (long)u) {
|
||||
while (1.0 <= u) {
|
||||
u /= (double)(BIGRAD);
|
||||
i++;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue