QUERY · ISSUE
docs: non standard behaviour of float()
docs
See
https://github.com/micropython/micropython/issues/11735
The official page
https://docs.micropython.org/en/latest/genrst/builtin_types.html#float
should be updated about the different result of
float('_')
(and eventually other invalid inputs)
between Python and MicroPython.
CANDIDATE · ISSUE
docs: Document limited numerical precision
docs
Documentation URL
No response
Description
Python normally uses double precision for all (floating point operations)[https://docs.python.org/3/library/numbers.html#numbers.Real]. MicroPython, depending on the platform, usually does not. This leads to surprises and errors, occasionally quite serious.
Unfortunately, this doesn't seem to be documented anywhere except in discussion groups.
I will create a pull request which attempts to deal with this lack.
Code of Conduct
Yes, I agree