Project

General

Profile

Statistics
| Revision:

root / trunk / code / projects / fp_math @ 2009

Name Size Revision Age Author Comment
  test 1602 over 14 years Justin Scheiner Added some test files for fixed point math. ...
Makefile 518 Bytes 1602 over 14 years Justin Scheiner Added some test files for fixed point math. ...
cos_table.txt 446 Bytes 1602 over 14 years Justin Scheiner Added some test files for fixed point math. ...
fp_math.c 4.18 KB 1603 over 14 years Justin Scheiner Small changes.. I definitely wouldn't use this ...
fp_math.h 254 Bytes 1586 over 14 years Justin Scheiner Implementation of exponential. Not tested, don...
gentables.m 470 Bytes 1602 over 14 years Justin Scheiner Added some test files for fixed point math. ...
main.c 681 Bytes 1602 over 14 years Justin Scheiner Added some test files for fixed point math. ...
space_table.txt 448 Bytes 1602 over 14 years Justin Scheiner Added some test files for fixed point math. ...

Latest revisions

# 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.

View revisions

Also available in: Atom