mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* numeric.c (flo_cmp): typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7175a9073e
commit
592d885caa
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Tue Jul 27 16:27:38 2010 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
|
* numeric.c (flo_cmp): typo.
|
||||||
|
|
||||||
Tue Jul 27 16:09:12 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
Tue Jul 27 16:09:12 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
* class.c, compile.c, dir.c, file.c, iseq.c, parse.y, random.c:
|
* class.c, compile.c, dir.c, file.c, iseq.c, parse.y, random.c:
|
||||||
|
|
|
@ -1016,7 +1016,8 @@ rb_dbl_cmp(double a, double b)
|
||||||
static VALUE
|
static VALUE
|
||||||
flo_cmp(VALUE x, VALUE y)
|
flo_cmp(VALUE x, VALUE y)
|
||||||
{
|
{
|
||||||
double a, b, i;
|
double a, b;
|
||||||
|
VALUE i;
|
||||||
|
|
||||||
a = RFLOAT_VALUE(x);
|
a = RFLOAT_VALUE(x);
|
||||||
if (isnan(a)) return Qnil;
|
if (isnan(a)) return Qnil;
|
||||||
|
|
Loading…
Reference in a new issue