about summary refs log tree commit diff
path: root/src/math/exp2.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-03-18 01:58:28 -0400
committerRich Felker <dalias@aerifal.cx>2012-03-18 01:58:28 -0400
commit9e2a895aaaa4a3985e94ae4f3e24c1af65f9bb34 (patch)
treeed1d3bc96b974c3a19a808d15cae7386f8cf27d1 /src/math/exp2.c
parent8e092217dd92ad3e95257255602c711b3304e38f (diff)
downloadmusl-9e2a895aaaa4a3985e94ae4f3e24c1af65f9bb34.tar.gz
musl-9e2a895aaaa4a3985e94ae4f3e24c1af65f9bb34.tar.xz
musl-9e2a895aaaa4a3985e94ae4f3e24c1af65f9bb34.zip
fix loads of missing const in new libm, and some global vars (?!) in powl
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     */