diff options
Diffstat (limited to 'math/w_scalb.c')
-rw-r--r-- | math/w_scalb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/math/w_scalb.c b/math/w_scalb.c index 09627f4d84..ea258b1037 100644 --- a/math/w_scalb.c +++ b/math/w_scalb.c @@ -58,15 +58,15 @@ __scalb (double x, double fn) if (!isnan (x) && !isnan (fn)) __set_errno (EDOM); } - else if (__isinf_ns (z)) + else if (isinf (z)) { - if (!__isinf_ns (x) && !__isinf_ns (fn)) + if (!isinf (x) && !isinf (fn)) __set_errno (ERANGE); } else { /* z == 0. */ - if (x != 0.0 && !__isinf_ns (fn)) + if (x != 0.0 && !isinf (fn)) __set_errno (ERANGE); } } |