소스 검색

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 년 전
부모
커밋
bc8dd927a3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)