diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-07-27 07:27:48 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-07-27 07:27:48 +0000 |
commit | 592d885caa63c13cfec14cfc9b48ddc3bc55bb57 (patch) | |
tree | cfa1a2351fd00d924c874a0e1315101cd5006f76 | |
parent | 7175a9073ea23abe565f606aa042ea015c7340b9 (diff) |
* numeric.c (flo_cmp): typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | numeric.c | 3 |
2 files changed, 6 insertions, 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> * 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 flo_cmp(VALUE x, VALUE y) { - double a, b, i; + double a, b; + VALUE i; a = RFLOAT_VALUE(x); if (isnan(a)) return Qnil; |