Skip to content

Commit

Permalink
Merge pull request #2920 from cremno/fix-irep-float-dump-format-strin…
Browse files Browse the repository at this point in the history
…g-for-mrb_use_float

irep dump: fix format string for MRB_USE_FLOAT
  • Loading branch information
matz committed Aug 17, 2015
2 parents 15f2787 + ad50a6c commit 05625cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dump.c
Expand Up @@ -16,7 +16,7 @@
#define FLAG_BYTEORDER_NONATIVE 0

#ifdef MRB_USE_FLOAT
#define MRB_FLOAT_FMT "%.9e"
#define MRB_FLOAT_FMT "%.8e"
#else
#define MRB_FLOAT_FMT "%.16e"
#endif
Expand Down

0 comments on commit 05625cd

Please sign in to comment.