Message305398
| Author |
tim.peters |
| Recipients |
davin, jeff.allen, mark.dickinson, rhettinger, serhiy.storchaka, skrah, tim.peters |
| Date |
2017年11月01日.21:36:08 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1509572168.79.0.213398074469.issue31630@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|