On 6/22/17 2:02 PM, Robert Poor wrote:
However, most implementations for cos(theta) actually generate sin(theta) as a "byproduct" (and vice-versa).
At first glance, the v8 implementation of cos typically uses a Taylor series and does not compute sin.
And the SpiderMonkey implementation of cos looks like it just calls the C standard library cos, so also doesn't compute sin(theta) in a way visible to it.
-Boris _______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss