[issue46444] Wrong value of pi for larger values using math.cos() function

Darshan Kanade report at bugs.python.org
Thu Jan 20 04:27:57 EST 2022


Darshan Kanade <kanadedarshan at gmail.com> added the comment:

Thanks Mark, for the explanation. I had no idea about how the floating point values are represented as binary fractions in the computer hardware. It was a very informative document. Thanks again!

----------
nosy:  -serhiy.storchaka

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


More information about the Python-bugs-list mailing list