Browse Source

Use isfinite() instead of non-standard finite() function.

The finite() function got standardized under the name isfinite(). Its
use is therefore discouraged.
Ed Schouten 9 years ago
parent
commit
bc8dd927a3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ld128/e_lgammal_r.c

+ 1 - 1
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)