T trinzed New member Joined Mar 7, 2014 Messages 14 Apr 3, 2014 #1 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?
stapel Super Moderator Staff member Joined Feb 4, 2004 Messages 16,550 Apr 4, 2014 #2 Denis said: If it takes less than a millisecond, why do you care? Click to expand... Curiosity, maybe?
Denis said: If it takes less than a millisecond, why do you care? Click to expand... Curiosity, maybe?
D Deleted member 4993 Guest Apr 4, 2014 #3 trinzed said: I noticed that methods such as Math.cos(), & Math.asin(), take less than a millisecond. Do these use a table & tabular differences? Click to expand... Using Taylor's series - I think... (at least that's how it used to be done in FORTRAN)
trinzed said: I noticed that methods such as Math.cos(), & Math.asin(), take less than a millisecond. Do these use a table & tabular differences? Click to expand... Using Taylor's series - I think... (at least that's how it used to be done in FORTRAN)