mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Update MRB_FLO_TO_STR_FMT to "%.16g"; fix #4016
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user