mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Update MRB_FLOAT_FMT to always use double precision.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user