summaryrefslogtreecommitdiff
path: root/math/w_scalb.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_scalb.c')
-rw-r--r--math/w_scalb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/math/w_scalb.c b/math/w_scalb.c
index 09627f4d84..fe40251222 100644
--- a/math/w_scalb.c
+++ b/math/w_scalb.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2011-2015 Free Software Foundation, Inc.
+/* Copyright (C) 2011-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@gmail.com>, 2011.
@@ -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);
}
}