about summary refs log tree commit diff
path: root/src/math/exp2f.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/exp2f.c')
-rw-r--r--src/math/exp2f.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/exp2f.c b/src/math/exp2f.c
index 211d1875..55c22eac 100644
--- a/src/math/exp2f.c
+++ b/src/math/exp2f.c
@@ -38,7 +38,7 @@ P2    = 0x1.ebfbe0p-3f,
 P3    = 0x1.c6b348p-5f,
 P4    = 0x1.3b2c9cp-7f;
 
-static volatile float twom100 = 0x1p-100f;
+static const volatile float twom100 = 0x1p-100f;
 
 static const double exp2ft[TBLSIZE] = {
   0x1.6a09e667f3bcdp-1,