From 6c112c15ad8d27dd8da9fdac1088ed274ecdf036 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 7 Jul 2001 22:47:57 +0000 Subject: (__ieee754_acoshl): acosh(x) = ln(2x) if x > 2^30. --- sysdeps/ieee754/ldbl-96/e_acoshl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps') diff --git a/sysdeps/ieee754/ldbl-96/e_acoshl.c b/sysdeps/ieee754/ldbl-96/e_acoshl.c index a60704a..5d4fa1d 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 -- cgit v1.1