lib/libm: Use isfinite instead of finitef, for C99 compatibility.

This commit is contained in:
Damien George 2017-05-31 11:34:29 +10:00
parent 821dc27eec
commit b53a63517a
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@
float value; int exp;
#endif
{
if(!finitef(value)||value==(float)0.0) return value;
if(!isfinite(value)||value==(float)0.0) return value;
value = scalbnf(value,exp);
//if(!finitef(value)||value==(float)0.0) errno = ERANGE;
return value;