Tim Peters <t...@python.org> added the comment: Oops! I mixed up `sin` and `cos` in that comment. If it's argument reduction that's broken, then for x near pi/2 cos(x) will be evaluated as -sin(x - pi/2), which is approximately -(x - pi/2), and so error in argument reduction (the "x - pi/2" part) will show up directly in the cos() result. So to confirm or refute that, you could replace `tan` by `cos` in the Python program I posted.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31630> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com