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/acosl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/math/acosl.c') diff --git a/src/math/acosl.c b/src/math/acosl.c index 21e6c95e..510e16f1 100644 --- a/src/math/acosl.c +++ b/src/math/acosl.c @@ -30,7 +30,7 @@ one = 1.00000000000000000000e+00; // FIXME //#ifdef __i386__ /* XXX Work around the fact that gcc truncates long double constants on i386 */ -static volatile double +static const volatile double pi1 = 3.14159265358979311600e+00, /* 0x1.921fb54442d18p+1 */ pi2 = 1.22514845490862001043e-16; /* 0x1.1a80000000000p-53 */ #define pi ((long double)pi1 + pi2) -- cgit 1.4.1