Eric V. Smith <e...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue45966>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to