lib/libm: Use isfinite instead of finitef, for C99 compatibility.
This commit is contained in:
parent
821dc27eec
commit
b53a63517a
|
@ -32,7 +32,7 @@
|
||||||
float value; int exp;
|
float value; int exp;
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
if(!finitef(value)||value==(float)0.0) return value;
|
if(!isfinite(value)||value==(float)0.0) return value;
|
||||||
value = scalbnf(value,exp);
|
value = scalbnf(value,exp);
|
||||||
//if(!finitef(value)||value==(float)0.0) errno = ERANGE;
|
//if(!finitef(value)||value==(float)0.0) errno = ERANGE;
|
||||||
return value;
|
return value;
|
||||||
|
|
Loading…
Reference in New Issue