mirror of
https://github.com/YannMagnin/vxOpenLibm.git
synced 2024-06-04 18:01:28 +02:00
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…
Reference in a new issue