Re: Best processors for trig?



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.

--
Chuck F (cbfalconer at maineline dot net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net>



--
Posted via a free Usenet account from http://www.teranews.com

.



Relevant Pages

  • Re: Best processors for trig?
    ... What's the canonical method of doing this? ... Taylor series ... the arguments have to be reduced first to ... A fine book on the subject is Hastings "Approximations for Digital ...
    (comp.arch.embedded)
  • Re: Best processors for trig?
    ... Taylor series ... You can also look at CORDIC functions. ... calculate all the normal trig functions to high precision using CORDIC ...
    (comp.arch.embedded)
  • Re: Best processors for trig?
    ... What's the canonical method of doing this? ... Taylor series ... return address is invalid] ...
    (comp.arch.embedded)
  • Re: Best processors for trig?
    ... What's the canonical method of doing this? ... Taylor series ... tauno voipio iki fi ...
    (comp.arch.embedded)
  • Re: Atan2(x, y) ?? How to implement?? - convergence
    ... Convergence is a matter of endurance. ... The Taylor series for sin and cos are absolutely convergent for ... It looks like you've seen Taylor series for sinand cos. ... How good the approximations are depend on how many ...
    (sci.math)