summaryrefslogtreecommitdiff
path: root/src/math/exp2l.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/exp2l.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/exp2l.c')
-rw-r--r--src/math/exp2l.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/exp2l.c b/src/math/exp2l.c
index ce085a73..b587308f 100644
--- a/src/math/exp2l.c
+++ b/src/math/exp2l.c
@@ -42,7 +42,7 @@ long double exp2l(long double x)
static const long double huge = 0x1p10000L;
/* XXX Prevent gcc from erroneously constant folding this. */
-static volatile long double twom10000 = 0x1p-10000L;
+static const volatile long double twom10000 = 0x1p-10000L;
static const double
redux = 0x1.8p63 / TBLSIZE,