aboutsummaryrefslogtreecommitdiff
path: root/unittests/unittests.h
Commit message (Collapse)AuthorAgeFilesLines
* fixed division, undefined behaviors and some improvements (#33)Martin Baƙinka2021-05-031-18/+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
* Merging a bunch of separately developed functions:Petteri.Aimonen2012-01-261-0/+18
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.