-/* Copyright (C) 2011, 2012 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.
__expf (float x)
{
float z = __ieee754_expf (x);
- if (__builtin_expect (!__finitef (z) || z == 0, 0)
- && __finitef (x) && _LIB_VERSION != _IEEE_)
- return __kernel_standard_f (x, x, 106 + !!__signbitf (x));
+ if (__builtin_expect (!isfinite (z) || z == 0, 0)
+ && isfinite (x) && _LIB_VERSION != _IEEE_)
+ return __kernel_standard_f (x, x, 106 + !!signbit (x));
return z;
}