diff options
author | Szabolcs Nagy <nsz@port70.net> | 2012-11-14 01:01:38 +0100 |
---|---|---|
committer | Szabolcs Nagy <nsz@port70.net> | 2012-11-14 01:01:38 +0100 |
commit | 45ff9d8eb6f43b8f612d1b01ada627f5b4447c45 (patch) | |
tree | 92515e65ee6782a78ce4a1c97839872a14939155 /src/math/asinl.c | |
parent | 529a8de46cbf6cce525ab25c4532822006502f29 (diff) | |
download | musl-45ff9d8eb6f43b8f612d1b01ada627f5b4447c45.tar.gz musl-45ff9d8eb6f43b8f612d1b01ada627f5b4447c45.tar.bz2 musl-45ff9d8eb6f43b8f612d1b01ada627f5b4447c45.tar.xz musl-45ff9d8eb6f43b8f612d1b01ada627f5b4447c45.zip |
math: ld80 invtrig cleanups
keeping only commonly used data in invtrigl
Diffstat (limited to 'src/math/asinl.c')
-rw-r--r-- | src/math/asinl.c | 4 |
1 files changed, 4 insertions, 0 deletions
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) { |