Home
Seminars
Free Newsletter
Back Issues
Jack's Books
Jack's Articles
Contact Us

Upcoming Events

Upcoming public Better Firmware Faster seminars:

London,UK (May 19)
    Sorry - This seminar is completely full.

Bring this class to your company! Click here to find how we can come to your facility and present the class.

 
 

For hints, tricks and ideas about better ways to build embedded systems, subscribe to The Embedded Muse, a free biweekly e- newsletter. No hype, just down to earth embedded talk.

Click here to subscribe.

 

Floating Point Approximations
Often we must create our own versions of trig and other functions. Perhaps the compiler's floating point package is too slow, or lacks precision. Sometimes it's so huge that doing a lousy cosine doubles the program's size. Regardless, there are lots of options other than relying on what the compiler provides.

This paper gives a number of simple floating point trig approximations. The code includes test cases to check for maximum error. This paper gives approximations for other functions like roots, exponentiation and logs.

Back to the Ganssle Group's home page.

 

The Ganssle Group 
PO Box 38346, Baltimore, MD 21231 
Tel: 410-504-6660, Fax: 647-439-1454
Email info@ganssle.com 
© 2008 The Ganssle Group