[issue45966] Error in Multiplication

Eric V. Smith report at bugs.python.org
Thu Dec 2 11:43:04 EST 2021


Eric V. Smith <eric at trueblade.com> added the comment:

This isn't a bug, it's a function of the IEEE-754 double precision floating point type that python uses. See: https://docs.python.org/3/tutorial/floatingpoint.html

You might want to consider the decimal module, although that will also have limitations.

----------
nosy: +eric.smith
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45966>
_______________________________________


More information about the Python-bugs-list mailing list