(__ieee754_acoshl): acosh(x) = ln(2x) if x > 2^30.
This commit is contained in:
parent
43c6b44414
commit
6c112c15ad
@ -55,7 +55,7 @@ ln2 = 6.931471805599453094287e-01L; /* 0x3FFE, 0xB17217F7, 0xD1CF79AC */
|
||||
GET_LDOUBLE_WORDS(se,i0,i1,x);
|
||||
if(se<0x3fff || se & 0x8000) { /* x < 1 */
|
||||
return (x-x)/(x-x);
|
||||
} else if(se >=0x401b) { /* x > 2**28 */
|
||||
} else if(se >=0x401d) { /* x > 2**30 */
|
||||
if(se >=0x7fff) { /* x is inf of NaN */
|
||||
return x+x;
|
||||
} else
|
||||
|
Loading…
Reference in New Issue
Block a user