Re: Best processors for trig?
- From: Paul Keinanen <keinanen@xxxxxx>
- Date: Sat, 31 Mar 2007 06:19:05 +0300
On 30 Mar 2007 09:59:32 -0700, "Mike Noone" <nleahcim@xxxxxxxxx>
wrote:
Hi - I was just wondering, are there any processors out there that
have been optimized for trig operations? I'm hoping to find a
processor that can do trig ops (sin, cos, tan, asin, acos, atan, etc.)
quickly. The faster the better.
A least for sin/cos you could use the expressions
sin(a+b)=sin(a)cos(b) + cos(a)sin(b)
cos(a+b)=cos(a)cos(b) - sin(a)sin(b)
in which a is the "integer" part and b is the "fractional" part.
sin(a) and cos(a) can easily be evaluated using table look-up,
sin(b)=b when b is expressed in radians and is sufficiently small
compared to a. Thus, the only problem is how to express cos(b), which
is very close to 1.0 anyway.
Paul
.
- References:
- Best processors for trig?
- From: Mike Noone
- Best processors for trig?
- Prev by Date: Re: where is the FAQ for this group please
- Next by Date: Re: Nvram write modes and problems
- Previous by thread: Re: Best processors for trig?
- Next by thread: Re: Best processors for trig?
- Index(es):
Relevant Pages
|