about summary refs log tree commit diff
path: root/math/w_hypotl.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_hypotl.c')
-rw-r--r--math/w_hypotl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/w_hypotl.c b/math/w_hypotl.c
index 2e942cae30..c784fa2c64 100644
--- a/math/w_hypotl.c
+++ b/math/w_hypotl.c
@@ -27,8 +27,8 @@ __hypotl(long double x, long double y)
 {
 	long double z;
 	z = __ieee754_hypotl(x,y);
-	if(__builtin_expect(!__finitel(z), 0)
-	   && __finitel(x) && __finitel(y) && _LIB_VERSION != _IEEE_)
+	if(__builtin_expect(!isfinite(z), 0)
+	   && isfinite(x) && isfinite(y) && _LIB_VERSION != _IEEE_)
 	    return __kernel_standard_l(x, y, 204); /* hypot overflow */
 
 	return z;