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