mirror of
https://github.com/nodemcu/nodemcu-firmware.git
synced 2025-01-16 20:52:57 +08:00
parent
16051d51d6
commit
ced7ddc926
@ -4,7 +4,7 @@
|
||||
|
||||
double floor(double x)
|
||||
{
|
||||
return (double) (x < 0.f ? (((int) x) - 1) : ((int) x));
|
||||
return (double) (x < 0.f ? ((int) x == x ? x : (((int) x) - 1)) : ((int) x));
|
||||
}
|
||||
|
||||
#define MAXEXP 2031 /* (MAX_EXP * 16) - 1 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user