Project

General

Profile

Statistics
| Revision:

root / trunk / code / projects / fp_math @ 1603

# Date Author Comment
1603 12/07/2009 11:08 AM Justin Scheiner

Small changes.. I definitely wouldn't use this for anything yet.

1602 12/07/2009 11:01 AM Justin Scheiner

Added some test files for fixed point math.

Something definitely broke in cosine when I changed to smaller tables
(which shouldn't have sacrificed any accuracy). Need to investigate...

1586 11/30/2009 02:56 AM Justin Scheiner

Implementation of exponential. Not tested, don't even know if it works at all.

1585 11/26/2009 01:33 PM Justin Scheiner

Cut the trig table sizes in 4 w/ symmetry, etc.

Lazy implementations of sine and tangent (that just
use cosine indirectly).

Addressed edge cases.

Needs EXTENSIVE testing to get a good grip on error bounds.

1579 11/23/2009 06:02 PM Justin Scheiner

Initial pass at a 32-bit fixed point library.

- Generated cosine / sine tables, put them in PROGMEM

- Wrote initial quadratic interpolation cosine function.
... not safe to use yet, but it seems to work for non-edge
cases. Need to write a better way to test it.