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/atan2l.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/math/atan2l.c') diff --git a/src/math/atan2l.c b/src/math/atan2l.c index 64ec12e7..d5a7a5ac 100644 --- a/src/math/atan2l.c +++ b/src/math/atan2l.c @@ -24,12 +24,12 @@ long double atan2l(long double y, long double x) } #elif (LDBL_MANT_DIG == 64 || LDBL_MANT_DIG == 113) && LDBL_MAX_EXP == 16384 #include "__invtrigl.h" -static volatile long double +static const volatile long double tiny = 1.0e-300; static const long double zero = 0.0; /* 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 v1.2.1