summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-20 11:35:12 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-20 11:35:12 +0000
commit01dacec2b4f7ec733ebea7b0427fc123542be21e (patch)
tree9383f9ab456ebb6c6952c9a402602c89ad849feb /numeric.c
parent9ea27a0b53b7b104c62b7c37119d176c7c103dfd (diff)
* include/ruby/ruby.h: rename RFloat#double_value -> float_value.
* numeric.c, parse.y: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numeric.c b/numeric.c
index 9c3ab2a..86b4c1d 100644
--- a/numeric.c
+++ b/numeric.c
@@ -483,7 +483,7 @@ rb_float_new(double d)
NEWOBJ(flt, struct RFloat);
OBJSETUP(flt, rb_cFloat, T_FLOAT);
- flt->double_value = d;
+ flt->float_value = d;
return (VALUE)flt;
}