Re: Minimax approximation for cosine
From: SAM (spamhole_at_spamfreeuniverse.uww)
Date: 11/16/04
- Next message: Dave Dodson: "Re: Minimax approximation for cosine"
- Previous message: Joe Smith: "Re: A C++ question BLAS"
- In reply to: Glen Low: "Minimax approximation for cosine"
- Next in thread: SAM: "Re: Minimax approximation for cosine"
- Reply: SAM: "Re: Minimax approximation for cosine"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 16 Nov 2004 05:30:29 GMT
On 14 Nov 2004 02:20:10 -0800, glenlow@pixelglow.com (Glen Low) wrote:
>I need to figure out the minimax polynomial approximation for cosine
>(using Mathematica or similar package).
>
[snip]
Glen, I believe the following will help directly with your problem:
For a nice discussion of (some of) the theory, D/L the PDF
http://www.research.scea.com/research/pdfs/RGREENfastermath_GDC02.pdf
Be sure to check out the references, esp. [Muller97].
If you want to see the (very nice) related presentation in slide form,
D/L the PDFs for Parts 1 & 2 from here:
http://www.research.scea.com/gdc2003/fast-math-functions.html
If you want to see sample source code, including IEEE 754, go to
http://gams.nist.gov/
Once there, do a "Problem" search on cos or cosine. Presumably you're
interested in class C4a. Implementations in the several packages
describe accuracy and precision, range checking and reduction, and
other aspects of bulletproofing.
If the above is not a sufficient amount of theory, post again here.
Cheers, SAM
- Next message: Dave Dodson: "Re: Minimax approximation for cosine"
- Previous message: Joe Smith: "Re: A C++ question BLAS"
- In reply to: Glen Low: "Minimax approximation for cosine"
- Next in thread: SAM: "Re: Minimax approximation for cosine"
- Reply: SAM: "Re: Minimax approximation for cosine"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|