From 9e2a895aaaa4a3985e94ae4f3e24c1af65f9bb34 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sun, 18 Mar 2012 01:58:28 -0400 Subject: fix loads of missing const in new libm, and some global vars (?!) in powl --- src/math/exp2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/math/exp2.c') 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 */ -- cgit v1.2.1