[issue31630] math.tan has poor accuracy near pi/2 on OpenBSD and NetBSD

Stefan Krah report at bugs.python.org
Sat Nov 18 08:36:32 EST 2017


Stefan Krah <stefan at bytereef.org> added the comment:

I found an unused i386 box with OpenBSD and Linux (so no VM):

A C program with tan(1.5707963267948961) is wrong on both systems.

fdlibm (directly from netlib.org) is correct on both systems.


Both OS versions are relatively old, so I cannot file an upstream issue.

I was planning to dig through the fdlibm code if there was an issue,
but it produces the correct results.

----------

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


More information about the Python-bugs-list mailing list