about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-07-07 22:47:57 +0000
committerUlrich Drepper <drepper@redhat.com>2001-07-07 22:47:57 +0000
commit6c112c15ad8d27dd8da9fdac1088ed274ecdf036 (patch)
treecda8126c135587c125b04cfdd6d7a4d5facc1a92
parent43c6b44414c908f19b56d3466a218e65640aac91 (diff)
downloadglibc-6c112c15ad8d27dd8da9fdac1088ed274ecdf036.tar.gz
glibc-6c112c15ad8d27dd8da9fdac1088ed274ecdf036.tar.xz
glibc-6c112c15ad8d27dd8da9fdac1088ed274ecdf036.zip
(__ieee754_acoshl): acosh(x) = ln(2x) if x > 2^30.
-rw-r--r--sysdeps/ieee754/ldbl-96/e_acoshl.c2
1 files changed, 1 insertions, 1 deletions
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