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/s_ldexpl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'math/s_ldexpl.c') diff --git a/math/s_ldexpl.c b/math/s_ldexpl.c index 1bcc7680b4..7c7809f272 100644 --- a/math/s_ldexpl.c +++ b/math/s_ldexpl.c @@ -24,9 +24,9 @@ static char rcsid[] = "$NetBSD: $"; long double __ldexpl(long double value, int exp) { - if(!__finitel(value)||value==0.0) return value; + if(!isfinite(value)||value==0.0) return value; value = __scalbnl(value,exp); - if(!__finitel(value)||value==0.0) __set_errno (ERANGE); + if(!isfinite(value)||value==0.0) __set_errno (ERANGE); return value; } weak_alias (__ldexpl, ldexpl) -- cgit v1.2.3