Javascript Math Object Trigonometric Functions.

trinzed

New member
Joined
Mar 7, 2014
Messages
14
I noticed that methods such as Math.cos(), & Math.asin(), take less than a millisecond. Do these use a table & tabular differences?
 
I noticed that methods such as Math.cos(), & Math.asin(), take less than a millisecond. Do these use a table & tabular differences?

Using Taylor's series - I think... (at least that's how it used to be done in FORTRAN)
 
Top