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

Stefan Krah report at bugs.python.org
Wed Nov 1 14:47:11 EDT 2017


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

On Wed, Nov 01, 2017 at 06:17:44PM +0000, Mark Dickinson wrote:
> I'm really reluctant to (even conditionally) skip the test, because it's doing exactly what it's designed to do, namely detecting and reporting that Python is giving poor results in this corner case on this platform. As developers, we can blame the poor results on the platform's libm, but that doesn't help the user.

I would want the tests to fail, especially if it can occur on Linux (though I
still suspect an i686 router in the reported case).

Perhaps hide them behind -uall, so that *we* see the result but just
executing ./python -m test passes.

----------

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


More information about the Python-bugs-list mailing list