diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-03-20 21:45:01 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-03-20 21:45:01 +0000 |
commit | 3aede677ba35a8dc027ce76f2b0f21e6026e22d4 (patch) | |
tree | f03530ac3e879f92468cb76090d46f780c362846 /rational.c | |
parent | f778691dfac18df5b7b9074acd86eae2844a1ace (diff) | |
download | ruby-3aede677ba35a8dc027ce76f2b0f21e6026e22d4.tar.gz |
* rational.c (nurat_to_f): C99.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'rational.c')
-rw-r--r-- | rational.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rational.c b/rational.c index 066a73d4bf..ccf214c32a 100644 --- a/rational.c +++ b/rational.c @@ -1102,12 +1102,12 @@ i_ilog2(VALUE x) static VALUE nurat_to_f(VALUE self) { - get_dat1(self); VALUE num, den; int minus = 0; long nl, dl, ml, ne, de; int e; double f; + get_dat1(self); if (f_zero_p(dat->num)) return rb_float_new(0.0); |