Update MRB_FLOAT_FMT to always use double precision.

This commit is contained in:
Yukihiro "Matz" Matsumoto
2020-09-22 10:56:38 +09:00
parent d2b548de60
commit 34356974ee
-4
View File
@@ -15,12 +15,8 @@
#ifndef MRB_NO_FLOAT
#include <mruby/endian.h>
#ifdef MRB_USE_FLOAT32
#define MRB_FLOAT_FMT "%.9g"
#else
#define MRB_FLOAT_FMT "%.17g"
#endif
#endif
static size_t get_irep_record_size_1(mrb_state *mrb, const mrb_irep *irep);