@@ -43,6 +43,37 @@ acosh 1.625
acosh 7
acosh 100
acosh 1e5
+acosh 0x1p8
+acosh 0x1p9
+acosh 0x1p10
+acosh 0x1p11
+acosh 0x1p12
+acosh 0x1p13
+acosh 0x1p24
+acosh 0x1p25
+acosh 0x1p26
+acosh 0x1p27
+acosh 0x1p28
+acosh 0x1p29
+acosh 0x1p30
+acosh 0x1p31
+acosh 0x1p32
+acosh 0x1p33
+acosh 0x1p48
+acosh 0x1p49
+acosh 0x1p50
+acosh 0x1p51
+acosh 0x1p52
+acosh 0x1p53
+acosh 0x1p54
+acosh 0x1p55
+acosh 0x1p56
+acosh 0x1p57
+acosh 0x1p58
+acosh 0x1p59
+acosh 0x1p100
+acosh 0x1p500
+acosh 0x1p5000
acosh max no-test-inline
asin 0
@@ -21,6 +21,10 @@ Function: "acos_upward":
ildouble: 1
ldouble: 1
+Function: "acosh":
+ildouble: 1
+ldouble: 1
+
Function: "acosh_downward":
ildouble: 2
ldouble: 2
@@ -44,14 +44,14 @@ __ieee754_acoshl(long double x)
EXTRACT_WORDS64 (lx, xlo);
if(hx<0x3ff0000000000000LL) { /* x < 1 */
return (x-x)/(x-x);
- } else if(hx >=0x41b0000000000000LL) { /* x > 2**28 */
+ } else if(hx >=0x4370000000000000LL) { /* x >= 2**56 */
if(hx >=0x7ff0000000000000LL) { /* x is inf of NaN */
return x+x;
} else
return __ieee754_logl(x)+ln2; /* acosh(huge)=log(2x) */
} else if (((hx-0x3ff0000000000000LL)|(lx&0x7fffffffffffffffLL))==0) {
return 0.0; /* acosh(1) = 0 */
- } else if (hx > 0x4000000000000000LL) { /* 2**28 > x > 2 */
+ } else if (hx > 0x4000000000000000LL) { /* 2**56 > x > 2 */
t=x*x;
return __ieee754_logl(2.0*x-one/(x+__ieee754_sqrtl(t-one)));
} else { /* 1<x<2 */
@@ -29,20 +29,33 @@ ldouble: 1
Function: "acosh":
double: 1
+float: 1
idouble: 1
+ifloat: 1
+ildouble: 1
+ldouble: 1
Function: "acosh_downward":
+double: 1
float: 1
-ildouble: 1
+idouble: 1
+ifloat: 1
+ildouble: 2
ldouble: 2
Function: "acosh_towardzero":
+double: 1
float: 1
-ildouble: 1
+idouble: 1
+ifloat: 1
+ildouble: 2
ldouble: 2
Function: "acosh_upward":
double: 1
+float: 1
+idouble: 1
+ifloat: 1
ildouble: 1
ldouble: 1