Do not add an extra decimal digit to floating point numbers, it introduces rounding errors.
[INTERPRETER] * BUG: Do not add an extra decimal digit to floating point numbers, it introduces rounding errors.
This commit is contained in:
parent
402d1acbcb
commit
245d3d7429
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@
|
||||||
#define MAX_STRUCT_FIELD 255
|
#define MAX_STRUCT_FIELD 255
|
||||||
|
|
||||||
/* Maximum number of digits in a Float */
|
/* Maximum number of digits in a Float */
|
||||||
#define MAX_FLOAT_DIGIT 16
|
#define MAX_FLOAT_DIGIT 15
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue