about summary refs log tree commit diff
path: root/math/w_scalbf.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-12-05 06:36:53 +0000
committerUlrich Drepper <drepper@redhat.com>2000-12-05 06:36:53 +0000
commit6d0c49145e818f4f8417b61ddbe22c957825d5e9 (patch)
tree00927b9a1699f64c19e04832f4219489658b1c40 /math/w_scalbf.c
parent2aa15430850362f50b069e21598e9acc625d4c27 (diff)
downloadglibc-6d0c49145e818f4f8417b61ddbe22c957825d5e9.tar.gz
glibc-6d0c49145e818f4f8417b61ddbe22c957825d5e9.tar.xz
glibc-6d0c49145e818f4f8417b61ddbe22c957825d5e9.zip
Update.
	* sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
	* sysdeps/i386/fpu/e_scalbf.S: Likewise.
	* sysdeps/i386/fpu/e_scalbl.S: Likewise.
	* math/w_scalb.c: Don't use matherr except in SVID mode.
	* math/w_scalbf.c: Likewise.
	* math/w_scalbl.c: Likewise.
	* math/test-misc.c: Add test for NaN and scalbl.
	Reported by Fred J. Tydeman <tydeman@tybor.com>.

2000-12-04  Ulrich Drepper  <drepper@redhat.com>
Diffstat (limited to 'math/w_scalbf.c')
-rw-r--r--math/w_scalbf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/math/w_scalbf.c b/math/w_scalbf.c
index 488a717503..51056083e8 100644
--- a/math/w_scalbf.c
+++ b/math/w_scalbf.c
@@ -48,7 +48,7 @@ static char rcsid[] = "$NetBSD: w_scalbf.c,v 1.3 1995/05/10 20:49:50 jtc Exp $";
 #else
 	float z;
 	z = __ieee754_scalbf(x,fn);
-	if(_LIB_VERSION == _IEEE_) return z;
+	if(_LIB_VERSION != _SVID_) return z;
 	if(!(__finitef(z)||__isnanf(z))&&__finitef(x)) {
 	    /* scalbf overflow */
 	    return (float)__kernel_standard((double)x,(double)fn,132);