Use isfinite() instead of non-standard finite() function.
The finite() function got standardized under the name isfinite(). Its use is therefore discouraged.
This commit is contained in:
parent
13d11626ba
commit
bc8dd927a3
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user