This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author skrah
Recipients davin, mark.dickinson, rhettinger, serhiy.storchaka, skrah, tim.peters
Date 2017-10-01.19:17:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1506885450.54.0.213398074469.issue31630@psf.upfronthosting.co.za>
In-reply-to
Content
OpenBSD reduces to the range [-pi/4,pi/4]:

   https://github.com/openbsd/src/blob/master/lib/libm/src/s_tan.c


According to the man page on i386:

   http://man.openbsd.org/FreeBSD-11.0/math.3

"Argument reduction is not performed accurately for huge arguments, resulting in large errors for such arguments to cos(), sin(), and tan()."


pi/2 is not exactly "huge", but it would be interesting if this
occurred on i386.
History
Date User Action Args
2017-10-01 19:17:30skrahsetrecipients: + skrah, tim.peters, rhettinger, mark.dickinson, serhiy.storchaka, davin
2017-10-01 19:17:30skrahsetmessageid: <1506885450.54.0.213398074469.issue31630@psf.upfronthosting.co.za>
2017-10-01 19:17:30skrahlinkissue31630 messages
2017-10-01 19:17:30skrahcreate