summaryrefslogtreecommitdiff
path: root/src/math/exp2l.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/exp2l.c')
-rw-r--r--src/math/exp2l.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/exp2l.c b/src/math/exp2l.c
index ce085a73..b587308f 100644
--- a/src/math/exp2l.c
+++ b/src/math/exp2l.c
@@ -42,7 +42,7 @@ long double exp2l(long double x)
static const long double huge = 0x1p10000L;
/* XXX Prevent gcc from erroneously constant folding this. */
-static volatile long double twom10000 = 0x1p-10000L;
+static const volatile long double twom10000 = 0x1p-10000L;
static const double
redux = 0x1.8p63 / TBLSIZE,