summaryrefslogtreecommitdiffstats
path: root/byterun/floats.c
diff options
context:
space:
mode:
Diffstat (limited to 'byterun/floats.c')
-rw-r--r--byterun/floats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/byterun/floats.c b/byterun/floats.c
index 53ac9528f..8a3f81fbf 100644
--- a/byterun/floats.c
+++ b/byterun/floats.c
@@ -101,7 +101,7 @@ value format_float(fmt, arg) /* ML */
char * dest;
value res;
- prec = 64;
+ prec = MAX_DIGITS;
for (p = String_val(fmt); *p != 0; p++) {
if (*p >= '0' && *p <= '9') {
i = atoi(p) + MAX_DIGITS;