From: Ulrich Drepper Date: Sat, 7 Jul 2001 22:47:57 +0000 (+0000) Subject: (__ieee754_acoshl): acosh(x) = ln(2x) if x > 2^30. X-Git-Tag: cvs/glibc-2_2_4~250 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=6c112c15ad8d27dd8da9fdac1088ed274ecdf036;p=glibc.git (__ieee754_acoshl): acosh(x) = ln(2x) if x > 2^30. --- diff --git a/sysdeps/ieee754/ldbl-96/e_acoshl.c b/sysdeps/ieee754/ldbl-96/e_acoshl.c index a60704aa29..5d4fa1deda 100644 --- a/sysdeps/ieee754/ldbl-96/e_acoshl.c +++ b/sysdeps/ieee754/ldbl-96/e_acoshl.c @@ -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