summaryrefslogtreecommitdiff
path: root/libm/e_scalb.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-12-22 11:31:12 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-12-22 11:31:12 +0000
commita0ebeb988d63d94da086b72daf0691f67584724a (patch)
tree9f02c52ab3ca4863834e14ccffc8335c371eec7f /libm/e_scalb.c
parent42256be88ff6114cce268616cfd47a0b10ddc575 (diff)
- fix fpclassify, signbit, isfinite, isnan, isinf macros for long double math support
- add rule to create preprocessor output for float- and long double math wrapper
Diffstat (limited to 'libm/e_scalb.c')
-rw-r--r--libm/e_scalb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libm/e_scalb.c b/libm/e_scalb.c
index 2f0dba14a..33eaeeac6 100644
--- a/libm/e_scalb.c
+++ b/libm/e_scalb.c
@@ -44,7 +44,7 @@ static char rcsid[] = "$NetBSD: e_scalb.c,v 1.6 1995/05/10 20:46:09 jtc Exp $";
return scalbn(x,fn);
#else
if (isnan(x)||isnan(fn)) return x*fn;
- if (!finite(fn)) {
+ if (!isfinite(fn)) {
if(fn>0.0) return x*fn;
else return x/(-fn);
}