about summary refs log tree commit diff
path: root/src/math/expf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/expf.c')
-rw-r--r--src/math/expf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/expf.c b/src/math/expf.c
index 8925a6f1..f706ac5d 100644
--- a/src/math/expf.c
+++ b/src/math/expf.c
@@ -33,7 +33,7 @@ invln2 = 1.4426950216e+00,        /* 0x3fb8aa3b */
 P1 =  1.6666625440e-1, /*  0xaaaa8f.0p-26 */
 P2 = -2.7667332906e-3; /* -0xb55215.0p-32 */
 
-static volatile float twom100 = 7.8886090522e-31; /* 2**-100=0x0d800000 */
+static const volatile float twom100 = 7.8886090522e-31; /* 2**-100=0x0d800000 */
 
 float expf(float x)
 {