Update `MRB_FLOAT_FMT` to always use double precision.

parent d2b548de
...@@ -15,12 +15,8 @@ ...@@ -15,12 +15,8 @@
#ifndef MRB_NO_FLOAT #ifndef MRB_NO_FLOAT
#include <mruby/endian.h> #include <mruby/endian.h>
#ifdef MRB_USE_FLOAT32
#define MRB_FLOAT_FMT "%.9g"
#else
#define MRB_FLOAT_FMT "%.17g" #define MRB_FLOAT_FMT "%.17g"
#endif #endif
#endif
static size_t get_irep_record_size_1(mrb_state *mrb, const mrb_irep *irep); static size_t get_irep_record_size_1(mrb_state *mrb, const mrb_irep *irep);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment