Statistics
| Revision:

root / trunk / code / projects / fp_math @ 1602

Name Size Revision Age Author Comment
  test 1602 almost 5 years Justin Scheiner Added some test files for fixed point math. ...
Makefile 518 Bytes 1602 almost 5 years Justin Scheiner Added some test files for fixed point math. ...
cos_table.txt 446 Bytes 1602 almost 5 years Justin Scheiner Added some test files for fixed point math. ...
fp_math.c 4.29 KB 1602 almost 5 years Justin Scheiner Added some test files for fixed point math. ...
fp_math.h 254 Bytes 1586 almost 5 years Justin Scheiner Implementation of exponential. Not tested, don...
gentables.m 470 Bytes 1602 almost 5 years Justin Scheiner Added some test files for fixed point math. ...
main.c 681 Bytes 1602 almost 5 years Justin Scheiner Added some test files for fixed point math. ...
space_table.txt 448 Bytes 1602 almost 5 years Justin Scheiner Added some test files for fixed point math. ...

Latest revisions

# Date Author Comment
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.

View revisions

Also available in: Atom