Commit Graph

7 Commits

Author SHA1 Message Date
Martin Bařinka 35eb7753d2
New unittests (#28)
Refactor unittests
2021-04-29 09:40:06 +03:00
David Lechner ff0a5f69c2 add FIXMATH_NO_CTYPE option
When compiling with -nostdlib, the functions in ctype may not be
available. Add FIXMATH_NO_CTYPE option to replace them with inline
functions.

Also add unit test to test str functions with this option enabled.
2019-06-16 15:38:19 -05:00
David Lechner 108fd93a34 clean all unit tests
make clean should delete all unit test binary files
2019-06-16 15:37:41 -05:00
PetteriAimonen cbbfe85a4a Add F16C() macro for defining values without float support.
Implementation by Jonas Zeiger.
2014-12-30 18:41:55 +00:00
Petteri.Aimonen 543e39f42d Added to/from string conversion functions, and testcases for them. 2012-08-29 14:38:36 +00:00
Petteri.Aimonen e929442f71 Improved fix16_exp() (half runtime, more accuracy), added fix16_log(), made unittests for both. 2012-02-27 16:40:07 +00:00
Petteri.Aimonen 1076285d26 Merging a bunch of separately developed functions:
fix16_mul, fix16_div, fix16_sqrt.
They are faster & more accurate than the previous versions.
Closes issue #13.

Includes unittests for the functions in question, runnable    
by typing 'make' in the unittests folder.
2012-01-26 15:43:30 +00:00