diff options
Diffstat (limited to 'math/w_scalbl.c')
-rw-r--r-- | math/w_scalbl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/math/w_scalbl.c b/math/w_scalbl.c index 5e1e017294..a5ed086df4 100644 --- a/math/w_scalbl.c +++ b/math/w_scalbl.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 @@ __scalbl (long double x, long double fn) if (!isnan (x) && !isnan (fn)) __set_errno (EDOM); } - else if (__isinf_nsl (z)) + else if (isinf (z)) { - if (!__isinf_nsl (x) && !__isinf_nsl (fn)) + if (!isinf (x) && !isinf (fn)) __set_errno (ERANGE); } else { /* z == 0. */ - if (x != 0.0L && !__isinf_nsl (fn)) + if (x != 0.0L && !isinf (fn)) __set_errno (ERANGE); } } |