From bc8dd927a37bc6e937029ce36419f5f326a07c63 Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Mon, 26 Oct 2015 10:23:11 +0100 Subject: [PATCH] Use isfinite() instead of non-standard finite() function. The finite() function got standardized under the name isfinite(). Its use is therefore discouraged. --- ld128/e_lgammal_r.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ld128/e_lgammal_r.c b/ld128/e_lgammal_r.c index 145adb2..dd8ea5d 100644 --- a/ld128/e_lgammal_r.c +++ b/ld128/e_lgammal_r.c @@ -763,7 +763,7 @@ lgammal_r(long double x, int *signgamp) *signgamp = 1; - if (! finite (x)) + if (!isfinite (x)) return x * x; if (x == 0.0L)