From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,baadd4fe2bf1dd84 X-Google-Attributes: gid111c93,public From: mbkennel@yahoo.com (Matt Kennel) Subject: Re: Redhat/Alpha computational performance???? Date: 1998/03/11 Message-ID: #1/1 X-Deja-AN: 333108568 References: <6d5453$sht@news1.newsguy.com> <6dhvm4$a4u$1@news.utrecht.NL.net> <6e6t9b$da3$1@news.utrecht.NL.net> Organization: University of California at San Diego Reply-To: mbkennel yahoo.com Newsgroups: comp.os.linux.alpha On 11 Mar 1998 20:47:39 GMT, Toon Moene wrote: :mbkennel@yahoo.com (Matt Kennel) wrote: : :> :OTOH, if usage of exp, sin and cos is so heavy in your program, why don't :you :> :use lookup tables; : :> Maybe, but we're using double precision complex. : :OK, that's different stuff - we can get away with single precision reals. :I saw a post in comp.arch a couple of weeks ago saying that the Pentium (Pro) :intrinsic sin and cos weren't very good at large arguments (i.e. their :reduction to the interval [0, 1/4 pi) sucks). This might, however, not be a :problem in your case. No I don't think so, but that's good information to know. So far my heaviest use of sin + cos is indirect, via exponentials of complex numbers (whose absolute magnitude is generally close to 1). If the reduction to angle in that case is OK, then I should be fine. And of course I need real exp. -- * Matthew B. Kennel/Institute for Nonlinear Science, UCSD - * "People who send spam to Emperor Cartagia... vanish! _They say_ that * there's a room where he has their heads, lined up in a row on a desk... * _They say_ that late at night, he goes there, and talks to them... _they *- say_ he asks them, 'Now tell me again, how _do_ you make money fast?'"