You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
py/formatfloat: Fix exact int formatting on 32-bit mingw.
When compiler optimizations are enabled on the mingw version of gcc, we
are getting failing tests because of rounding issues, for example:
print(float("1e24"))
would print
9.999999999999999e+23
instead of
1e+24
It turns out special compiler options are needed to get GCC to use the
SSE instruction set instead of the 387 coprocessor.
Signed-off-by: David Lechner <david@pybricks.com>
0 commit comments