Update MRB_FLO_TO_STR_FMT to "%.16g"; fix #4016

This commit is contained in:
Yukihiro "Matz" Matsumoto
2018-05-01 17:21:01 +09:00
parent 2a38eb9325
commit 028e34d345
2 changed files with 11 additions and 5 deletions
+2 -2
View File
@@ -23,9 +23,9 @@
#define floor(f) floorf(f)
#define ceil(f) ceilf(f)
#define fmod(x,y) fmodf(x,y)
#define MRB_FLO_TO_STR_FMT "%.7g"
#define MRB_FLO_TO_STR_FMT "%.8g"
#else
#define MRB_FLO_TO_STR_FMT "%.14g"
#define MRB_FLO_TO_STR_FMT "%.16g"
#endif
#endif