aboutsummaryrefslogtreecommitdiff
path: root/unittests/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* fixed division, undefined behaviors and some improvements (#33)Martin Bařinka2021-05-031-78/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * testing using ctest * emove old testing script * added github workflow CI * updated CI * added unit test for macros * F16() and F16C() are both rounding allways, so fix16_from_dbl should as well * added tests for strign operations, but these functions are in my opinion unreliable and tests are failing * removed old unittests * removed old unittests from cmake * problem with division using gcc * improved benchmark * clarification of problem with division * attempt to fix * fixed some undefined behaviors, fixed division
* New unittests (#28)Martin Bařinka2021-04-291-1/+1
| | | Refactor unittests
* add FIXMATH_NO_CTYPE optionDavid Lechner2019-06-161-6/+9
| | | | | | | | 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.
* clean all unit testsDavid Lechner2019-06-161-0/+3
| | | | make clean should delete all unit test binary files
* Add F16C() macro for defining values without float support.PetteriAimonen2014-12-301-1/+8
| | | | Implementation by Jonas Zeiger.
* Added to/from string conversion functions, and testcases for them.Petteri.Aimonen2012-08-291-2/+10
|
* Improved fix16_exp() (half runtime, more accuracy), added fix16_log(), made ↵Petteri.Aimonen2012-02-271-2/+10
| | | | unittests for both.
* Merging a bunch of separately developed functions:Petteri.Aimonen2012-01-261-0/+49
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.