Commit b53a6351 authored by Damien George's avatar Damien George

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

parent 821dc27e
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment