libfixmath/libfixmath
Martin Bařinka 0c88e55fa8
fixed division, undefined behaviors and some improvements (#33)
* 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
2021-05-03 13:43:54 +03:00
..
Makefile Back to previous Makefile I unintentionally modified 2011-06-11 10:11:11 +00:00
code_style.txt Updated coding style document. 2012-07-25 14:49:11 +00:00
fix16.c fixed division, undefined behaviors and some improvements (#33) 2021-05-03 13:43:54 +03:00
fix16.h fixed division, undefined behaviors and some improvements (#33) 2021-05-03 13:43:54 +03:00
fix16.hpp fix formatting 2021-04-22 09:10:50 +02:00
fix16_exp.c fixed some warnings 2021-04-21 15:08:15 +02:00
fix16_fft.c New unittests (#28) 2021-04-29 09:40:06 +03:00
fix16_sqrt.c fixed division, undefined behaviors and some improvements (#33) 2021-05-03 13:43:54 +03:00
fix16_str.c add FIXMATH_NO_CTYPE option 2019-06-16 15:38:19 -05:00
fix16_trig.c Fix `elif` without condition in `fix16_trig.c` 2020-03-15 02:22:25 +01:00
fix16_trig_sin_lut.h Updated sin lut to use ~200KiB for it's table with the same accuracy, the lookup table implementation tends to run at about 33-36% of the speed of sinf on my machine (Intel T5500). 2011-02-25 16:07:39 +00:00
fixmath.h Updated lerp6 and lerp16 (LinEar inteRPolation) to use the new int64 header so that it can be used with FIXMATH_NO_64BIT. 2011-03-03 11:51:10 +00:00
fract32.c Fix errors on Visual Studio (patch by sunside227) 2014-01-16 06:21:59 +00:00
fract32.h Added int64.h which performs 64-bit calculations using 32-bit operations, this means that the FIXMATH_NO_64BIT macro can now be used to enable these operations on compilers without 64-bit support, note that some of these operations are slower than the built-in gcc ones (though some are faster too). 2011-03-03 11:21:20 +00:00
int64.h Removed 64-bit restriction on linear interpolation functions. Added more test cases and fixed several bugs in the 64-bit arithmetic functions. 2020-10-29 13:20:27 -04:00
libfixmath.cbp Added int64.h which performs 64-bit calculations using 32-bit operations, this means that the FIXMATH_NO_64BIT macro can now be used to enable these operations on compilers without 64-bit support, note that some of these operations are slower than the built-in gcc ones (though some are faster too). 2011-03-03 11:21:20 +00:00
libfixmath.cmake New unittests (#28) 2021-04-29 09:40:06 +03:00
uint32.c Initial commit. Since its use in fgl and the Dingoo SDK the functions have been separated into more descriptive files/modules. 2011-02-14 20:59:41 +00:00
uint32.h Initial commit. Since its use in fgl and the Dingoo SDK the functions have been separated into more descriptive files/modules. 2011-02-14 20:59:41 +00:00