aboutsummaryrefslogtreecommitdiff
path: root/unittests/fix16_macros_unittests.c
Commit message (Collapse)AuthorAgeFilesLines
* fixed division, undefined behaviors and some improvements (#33)Martin Baƙinka2021-05-031-110/+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
* Make unittest #include path consistent (#29)Petteri Aimonen2021-04-291-1/+1
|
* Add F16C() macro for defining values without float support.PetteriAimonen2014-12-301-0/+110
Implementation by Jonas Zeiger.