Re: Best processors for trig?
- From: "Paul E. Bennett" <peb@xxxxxxxxxxxxxxxxxx>
- Date: Sat, 31 Mar 2007 09:45:02 +0100
CBFalconer wrote:
Tauno Voipio wrote:
larwe wrote:
Tim Wescott <t...@xxxxxxxxxxxxxxxx> wrote:
A floating point DSP, as noted.
What's the canonical method of doing this? Taylor series
approximations?
Of course, the arguments have to be reduced first to
the range of the period (2 * pi for sin and cos, pi
for tan). The reduced range is often split into some
sub-ranges with different coefficients.
The least-maximum error polynomial for approximation
is obtained by developing the function to a series
of Chebysev polynomials. This method gives less error
than a corresponding Taylor or MacLaurin series.
The trig functions and exponential are quite polynomial-
friendly. The most difficult of the elementary functions
is the logarithm, its Taylor series uses half of an
infinity to converge.
A fine book on the subject is Hastings "Approximations for Digital
Computers". Someone stole mine about 20 years ago.
It's a pain when that happens. I managed to get a copy a few years ago from
Amazon. They do have links to old book stockists so you can sometimes find
an old classic like that through them.
Also worth looking up are DDA algorithms which are often quite fast.
--
********************************************************************
Paul E. Bennett ....................<email://peb@xxxxxxxxxxxxxxxxxx>
Forth based HIDECS Consultancy .....<http://www.amleth.demon.co.uk/>
Mob: +44 (0)7811-639972
Tel: +44 (0)1235-811095
Going Forth Safely ..... EBA. www.electric-boat-association.org.uk..
********************************************************************
.
- Follow-Ups:
- Re: Best processors for trig?
- From: Warren Block
- Re: Best processors for trig?
- References:
- Best processors for trig?
- From: Mike Noone
- Re: Best processors for trig?
- From: Tim Wescott
- Re: Best processors for trig?
- From: larwe
- Re: Best processors for trig?
- From: Tauno Voipio
- Re: Best processors for trig?
- From: CBFalconer
- Best processors for trig?
- Prev by Date: Re: where is the FAQ for this group please
- Next by Date: PIC BASIC grammar
- Previous by thread: Re: Best processors for trig?
- Next by thread: Re: Best processors for trig?
- Index(es):
Relevant Pages
|