Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!mcsun!sunic!draken!d88-jwa From: d88-jwa@nada.kth.se (Jon W{tte (yes it's a hyphen !)) Newsgroups: comp.sys.mac.programmer Subject: Re: How to Cosine Message-ID: <2143@draken.nada.kth.se> Date: 23 Oct 89 21:05:49 GMT References: <2157@hudson.acc.virginia.edu> Reply-To: d88-jwa@nada.kth.se (Jon W{tte) Organization: Royal Institute of Technology, Stockholm, Sweden Lines: 11 If you want a cosine, try the McLaurin polynomial. (This really is a special case of the Taylor polynomial) I'm sure you're familiar with it, and cleverly coded (i.e. begin at the term to the highest power and go towards ... + 1, and all of it done "inline" i.e. no loop) it should be quite fast. Happy Hacking ! h+@nada.kth.se -- When you don't know what you're doing, do it gently