Message305398
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. |
|
Date |
User |
Action |
Args |
2017-11-01 21:36:08 | tim.peters | set | recipients:
+ tim.peters, rhettinger, mark.dickinson, skrah, serhiy.storchaka, jeff.allen, davin |
2017-11-01 21:36:08 | tim.peters | set | messageid: <1509572168.79.0.213398074469.issue31630@psf.upfronthosting.co.za> |
2017-11-01 21:36:08 | tim.peters | link | issue31630 messages |
2017-11-01 21:36:08 | tim.peters | create | |
|