summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
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 5ac5449..58ac7ad 100644
--- a/numeric.c
+++ b/numeric.c
@@ -615,7 +615,7 @@ num_to_int(VALUE num)
*/
VALUE
-rb_float_new(double d)
+rb_float_new_in_heap(double d)
{
NEWOBJ(flt, struct RFloat);
OBJSETUP(flt, rb_cFloat, T_FLOAT);