You've already forked Core2forAWS-MicroPython
mirror of
https://github.com/m5stack/Core2forAWS-MicroPython.git
synced 2026-05-20 10:30:31 -07:00
lib/libm: Use isfinite instead of finitef, for C99 compatibility.
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user