Soft 404
Interesting results!
Python on the Pico has issues too. It got to the point with Pico MicroPython (and CircuitPython) were so restrictive with their single-precision that I just built my own double-precision version for MicroPython, and just use that now, to reduce such unexpectedness when working in that language. CircuitPython has all sorts of maths anomalies (and not just in maths either).
I'm storing the MicroPython builds here: https://github.com/shabaz123/PiPicoMicroPythonDoublePrecision/tree/main
However, even double-precision isn't always precise, I wish a quadruple-precision build was available! There are libraries for that but they are for Python, not MicroPython.
Interesting results!
Python on the Pico has issues too. It got to the point with Pico MicroPython (and CircuitPython) were so restrictive with their single-precision that I just built my own double-precision version for MicroPython, and just use that now, to reduce such unexpectedness when working in that language. CircuitPython has all sorts of maths anomalies (and not just in maths either).
I'm storing the MicroPython builds here: https://github.com/shabaz123/PiPicoMicroPythonDoublePrecision/tree/main
However, even double-precision isn't always precise, I wish a quadruple-precision build was available! There are libraries for that but they are for Python, not MicroPython.