about summary refs log tree commit diff
path: root/src/math/exp2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/exp2.c')
-rw-r--r--src/math/exp2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/exp2.c b/src/math/exp2.c
index bf7421ee..08c21a66 100644
--- a/src/math/exp2.c
+++ b/src/math/exp2.c
@@ -39,7 +39,7 @@ P3    = 0x1.c6b08d704a0a6p-5,
 P4    = 0x1.3b2ab88f70400p-7,
 P5    = 0x1.5d88003875c74p-10;
 
-static volatile double twom1000 = 0x1p-1000;
+static const volatile double twom1000 = 0x1p-1000;
 
 static const double tbl[TBLSIZE * 2] = {
 /*  exp2(z + eps)          eps     */