From d81f90ccd0109de9ed78aeeb8d86e2c6d4600690 Mon Sep 17 00:00:00 2001 From: Wilco Dijkstra Date: Wed, 3 Jun 2015 15:36:34 +0100 Subject: This patch renames all uses of __isinf*, __isnan*, __finite* and __signbit* to use standard C99 macros. This has no effect on generated code. --- math/w_hypot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'math/w_hypot.c') diff --git a/math/w_hypot.c b/math/w_hypot.c index 2c6de28600..7c662c8e40 100644 --- a/math/w_hypot.c +++ b/math/w_hypot.c @@ -22,8 +22,8 @@ double __hypot (double x, double y) { double z = __ieee754_hypot(x,y); - if(__builtin_expect(!__finite(z), 0) - && __finite(x) && __finite(y) && _LIB_VERSION != _IEEE_) + if(__builtin_expect(!isfinite(z), 0) + && isfinite(x) && isfinite(y) && _LIB_VERSION != _IEEE_) return __kernel_standard(x, y, 4); /* hypot overflow */ return z; -- cgit v1.2.3