diff --git a/src/zstrformat.cpp b/src/zstrformat.cpp index 05b31e59a..aae653efe 100644 --- a/src/zstrformat.cpp +++ b/src/zstrformat.cpp @@ -699,7 +699,7 @@ fp_begin: { flags |= F_NEGATIVE; } - if (expt == INT_MAX) // inf or nan + if (expt == 9999) // inf or nan { if (*obuff == 'N') {