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/exp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/math/exp.c') diff --git a/src/math/exp.c b/src/math/exp.c index c1c9a63c..a538b8cd 100644 --- a/src/math/exp.c +++ b/src/math/exp.c @@ -90,7 +90,7 @@ P3 = 6.61375632143793436117e-05, /* 0x3F11566A, 0xAF25DE2C */ P4 = -1.65339022054652515390e-06, /* 0xBEBBBD41, 0xC5D26BF1 */ P5 = 4.13813679705723846039e-08; /* 0x3E663769, 0x72BEA4D0 */ -static volatile double +static const volatile double twom1000 = 9.33263618503218878990e-302; /* 2**-1000=0x01700000,0 */ double exp(double x) -- cgit v1.2.1