Procházet zdrojové kódy

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

The finite() function got standardized under the name isfinite(). Its
use is therefore discouraged.
Ed Schouten před 9 roky
rodič
revize
bc8dd927a3
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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)