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.

--
Greg
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to