[Python-ideas] Fwd: Trigonometry in degrees

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Jun 13 20:23:56 EDT 2018

Stephan Houben wrote:
> Yes that is what my code does.
> It reduces degrees to [0,90].

Only for the special angles, though. Richard's point is that you
need to do tha for *all* angles to avoid discontinuities with
large angles.

> This is not how sine functions are calculated. They are calculated by
> reducing  angle to some interval, then evaluating a polynomial which
 > approximates the true sine within that interval.

That's what he suggested, with the interval being -7.5 to 7.5 degrees.


More information about the Python-ideas mailing list