From 45ff9d8eb6f43b8f612d1b01ada627f5b4447c45 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Wed, 14 Nov 2012 01:01:38 +0100 Subject: math: ld80 invtrig cleanups keeping only commonly used data in invtrigl --- src/math/asinl.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/math/asinl.c') diff --git a/src/math/asinl.c b/src/math/asinl.c index ddd807e2..7572767c 100644 --- a/src/math/asinl.c +++ b/src/math/asinl.c @@ -24,6 +24,10 @@ long double asinl(long double x) #elif (LDBL_MANT_DIG == 64 || LDBL_MANT_DIG == 113) && LDBL_MAX_EXP == 16384 #include "__invtrigl.h" static const long double huge = 1.000e+300; +static const long double pio4_hi = 7.85398163397448309628e-01L; +#define ASIN_LINEAR (BIAS - 32) /* 2**-32 */ +/* 0.95 */ +#define THRESH ((0xe666666666666666ULL>>(64-(MANH_SIZE-1)))|LDBL_NBIT) long double asinl(long double x) { -- cgit v1.2.1