summary refs log tree commit diff
path: root/sysdeps/ieee754
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-09-06 05:38:04 +0000
committerUlrich Drepper <drepper@redhat.com>2005-09-06 05:38:04 +0000
commit643377d67463ad227b577be12b78bc65af54ad52 (patch)
tree9b286f9aaadd91930f4e06735de9440df75377d4 /sysdeps/ieee754
parentbf017034fb453310fa5093a1346c52fe8926f670 (diff)
downloadglibc-643377d67463ad227b577be12b78bc65af54ad52.tar.gz
glibc-643377d67463ad227b577be12b78bc65af54ad52.tar.xz
glibc-643377d67463ad227b577be12b78bc65af54ad52.zip
* sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Remove the
	exponent bias from the increment value for scaling by 2^60.
Diffstat (limited to 'sysdeps/ieee754')
-rw-r--r--sysdeps/ieee754/flt-32/e_hypotf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/ieee754/flt-32/e_hypotf.c b/sysdeps/ieee754/flt-32/e_hypotf.c
index ddcd8ee208..a8e1a52d2b 100644
--- a/sysdeps/ieee754/flt-32/e_hypotf.c
+++ b/sysdeps/ieee754/flt-32/e_hypotf.c
@@ -47,7 +47,7 @@ static char rcsid[] = "$NetBSD: e_hypotf.c,v 1.5 1995/05/12 04:57:30 jtc Exp $";
 	       return w;
 	   }
 	   /* scale a and b by 2**-60 */
-	   ha -= 0x5d800000; hb -= 0x5d800000;	k += 60;
+	   ha -= 0x1e000000; hb -= 0x1e000000;	k += 60;
 	   SET_FLOAT_WORD(a,ha);
 	   SET_FLOAT_WORD(b,hb);
 	}
@@ -59,8 +59,8 @@ static char rcsid[] = "$NetBSD: e_hypotf.c,v 1.5 1995/05/12 04:57:30 jtc Exp $";
 		a *= t1;
 		k -= 126;
 	    } else {		/* scale a and b by 2^60 */
-	        ha += 0x5d800000; 	/* a *= 2^60 */
-		hb += 0x5d800000;	/* b *= 2^60 */
+	        ha += 0x1e000000; 	/* a *= 2^60 */
+		hb += 0x1e000000;	/* b *= 2^60 */
 		k -= 60;
 		SET_FLOAT_WORD(a,ha);
 		SET_FLOAT_WORD(b,hb);