Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!gem.mps.ohio-state.edu!apple!apple.com!chewy From: chewy@apple.com (Paul Snively) Newsgroups: comp.sys.mac.programmer Subject: Re: How to Cosine Message-ID: <4831@internal.Apple.COM> Date: 23 Oct 89 16:42:09 GMT References: <2157@hudson.acc.virginia.edu> Sender: usenet@Apple.COM Organization: Apple Computer, Inc. Lines: 18 In article <2157@hudson.acc.virginia.edu> cak3g@astsun8.astro.Virginia.EDU (Colin Klipsch) writes: > I have already tried doing this, but my routine (even though it > wasn't quite finished) was only 2.3 times faster than converting > the angle to SANE extended (in radians) and calling FCOSX. This > either says that my routine is surprisingly slow or that SANE > is surprisingly fast. Of course, this was on a Mac II, but still... The reason for this is that SANE isn't as stupid as people think; since ALL Mac IIs come with an FPU, SANE uses it, so you're pretty close to the hardware when you use SANE on a Mac II. __________________________________________________________________________ Just because I work for Apple Computer, Inc. doesn't mean that they believe what I believe or vice-versa. __________________________________________________________________________ C++ -- The language in which only friends can access your private members. __________________________________________________________________________