From 34356974eeccb9b86541df7f43da0429a43b940f Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Tue, 22 Sep 2020 10:56:38 +0900 Subject: Update `MRB_FLOAT_FMT` to always use double precision. --- src/dump.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/dump.c b/src/dump.c index 0c5ded2e2..511ee3664 100644 --- a/src/dump.c +++ b/src/dump.c @@ -15,12 +15,8 @@ #ifndef MRB_NO_FLOAT #include -#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); -- cgit v1.2.3