diff options
Diffstat (limited to 'math/w_scalbf.c')
-rw-r--r-- | math/w_scalbf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/math/w_scalbf.c b/math/w_scalbf.c index e7b855b6d1..30eb3a2ba8 100644 --- a/math/w_scalbf.c +++ b/math/w_scalbf.c @@ -58,15 +58,15 @@ __scalbf (float x, float fn) if (!isnan (x) && !isnan (fn)) __set_errno (EDOM); } - else if (__isinf_nsf (z)) + else if (isinf (z)) { - if (!__isinf_nsf (x) && !__isinf_nsf (fn)) + if (!isinf (x) && !isinf (fn)) __set_errno (ERANGE); } else { /* z == 0. */ - if (x != 0.0f && !__isinf_nsf (fn)) + if (x != 0.0f && !isinf (fn)) __set_errno (ERANGE); } } |