use mrb_float instead of double

This commit is contained in:
Yukihiro Matsumoto
2012-04-26 11:13:45 +09:00
parent 5aa1c95710
commit 7b3d628c86
4 changed files with 52 additions and 54 deletions
+1 -1
View File
@@ -16,7 +16,7 @@
#define NEGFIXABLE(f) ((f) >= FIXNUM_MIN)
#define FIXABLE(f) (POSFIXABLE(f) && NEGFIXABLE(f))
mrb_value mrb_dbl2big(mrb_state *mrb, float d);
mrb_value mrb_flt2big(mrb_state *mrb, float d);
void mrb_num_zerodiv(mrb_state *mrb);
mrb_value mrb_fix2str(mrb_state *mrb, mrb_value x, int base);