aboutsummaryrefslogtreecommitdiff
path: root/unittests/fix16_unittests.c
Commit message (Collapse)AuthorAgeFilesLines
* fixed division, undefined behaviors and some improvements (#33)Martin Bařinka2021-05-031-391/+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-2/+2
| | | Refactor unittests
* Removed 64-bit restriction on linear interpolation functions. Added more ↵Chris Hammond2020-10-291-2/+26
| | | | | | test cases and fixed several bugs in the 64-bit arithmetic functions. Also added script to run all unit tests.
* Added unit tests for "lerp" functions, and found several type conversion bugsChris Hammond2020-10-221-0/+30
|
* Fixed erronous printout of division unit test.Flatmush2012-08-311-3/+3
|
* Perform the fix16_min -> fix16_minimum rename in unittests to make them work ↵Petteri.Aimonen2012-08-291-8/+8
| | | | again.
* Merging a bunch of separately developed functions:Petteri.Aimonen2012-01-261-0/+337
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.