summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libass/ass_strtod.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libass/ass_strtod.c b/libass/ass_strtod.c
index 7b73630..876503e 100644
--- a/libass/ass_strtod.c
+++ b/libass/ass_strtod.c
@@ -16,12 +16,14 @@
#include <ctype.h>
#include <errno.h>
+const
static int maxExponent = 511; /* Largest possible base 10 exponent. Any
* exponent larger than this will already
* produce underflow or overflow, so there's
* no need to worry about additional digits.
*/
+const
static double powersOf10[] = { /* Table giving binary powers of 10. Entry */
10., /* is 10^2^i. Used to convert decimal */
100., /* exponents into floating-point numbers. */