about summary refs log tree commit diff
path: root/math/w_scalb.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_scalb.c')
-rw-r--r--math/w_scalb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/math/w_scalb.c b/math/w_scalb.c
index e5c407a435..c981b858a9 100644
--- a/math/w_scalb.c
+++ b/math/w_scalb.c
@@ -45,7 +45,7 @@ static char rcsid[] = "$NetBSD: w_scalb.c,v 1.6 1995/05/10 20:49:48 jtc Exp $";
 #else
 	double z;
 	z = __ieee754_scalb(x,fn);
-	if(_LIB_VERSION == _IEEE_) return z;
+	if(_LIB_VERSION != _SVID_) return z;
 	if(!(__finite(z)||__isnan(z))&&__finite(x)) {
 	    return __kernel_standard(x,(double)fn,32); /* scalb overflow */
 	}