mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
use mrb_float instead of double
This commit is contained in:
+1
-1
@@ -811,7 +811,7 @@ bin_retry:
|
||||
val = mrb_fixnum_value((mrb_int)mrb_float(val));
|
||||
goto bin_retry;
|
||||
}
|
||||
val = mrb_dbl2big(mrb, mrb_float(val));
|
||||
val = mrb_flt2big(mrb, mrb_float(val));
|
||||
if (FIXNUM_P(val)) goto bin_retry;
|
||||
break;
|
||||
case MRB_TT_STRING:
|
||||
|
||||
Reference in New Issue
Block a user