summaryrefslogtreecommitdiff
path: root/src/math/exp.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/exp.c
parent8e092217dd92ad3e95257255602c711b3304e38f (diff)
downloadmusl-9e2a895aaaa4a3985e94ae4f3e24c1af65f9bb34.tar.gz
fix loads of missing const in new libm, and some global vars (?!) in powl
Diffstat (limited to 'src/math/exp.c')
-rw-r--r--src/math/exp.c2
1 files changed, 1 insertions, 1 deletions
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)