PDA

View Full Version : How does the computer find sin()?



simpleSoft
April 13th, 2004, 11:09 AM
Just out of curiosity, we were talking in our Calc class about Taylor Polynomials, and the teacher suggested maybe that is how a calculator/computer takes the sine of a number. Does any one know where I can go and see how the computer finds the sine of a number?


***BTW I checked the Math class included in flash and it says its a "intrinsic class Math" and this is the function that defines sin = "static function sin(value:Number):Number;" What does that mean?

Voetsjoeba
April 13th, 2004, 11:11 AM
***BTW I checked the Math class included in flash and it says its a "intrinsic class Math" and this is the function that defines sin = "static function sin(value:Number):Number;" What does that mean?
Read through Senocular's AS 2.0 OOP tutorial to find out ;)

simpleSoft
April 13th, 2004, 11:33 AM
Well thank you for the answer to what intrinsic classes are. Is there a more indepth class that describes the Math class?

jbum
April 13th, 2004, 03:32 PM
You might find the following book of interest:

Elementary Functions: Algorithms and Implementation (http://www.amazon.com/exec/obidos/tg/detail/-/081763990X/104-9659926-0855955?v=glance)