| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | libfixmath/fix16.h: replace static const with defineHEADfork | Xavier Del Campo Romero | 2022-02-24 | 1 | -12/+18 |
| | | | | | This allows using them with compile-time expressions. | ||||
| * | CMakeLists.txt: disable -Werror=return-type | Xavier Del Campo Romero | 2022-02-24 | 1 | -2/+2 |
| | | |||||
| * | Disable tests | Xavier Del Campo Romero | 2022-02-24 | 1 | -10/+8 |
| | | |||||
| * | libfixmath/CMakeLists.txt: avoid glob matching | Xavier Del Campo Romero | 2022-02-24 | 1 | -1/+8 |
| | | |||||
| * | libfixmath/CMakeLists.txt: use target_include_directories | Xavier Del Campo Romero | 2022-02-24 | 1 | -1/+1 |
| | | |||||
| * | Downgrade CMAKE_C_STANDARD to 99 | Xavier Del Campo Romero | 2022-02-24 | 1 | -1/+1 |
| | | |||||
| * | Rename library CMakeLists.txt | Xavier Del Campo Romero | 2022-02-24 | 2 | -2/+2 |
| | | |||||
| * | fix unsigned signed comparison in fix16_fft | Johannes Ringler | 2022-02-23 | 1 | -1/+1 |
| | | |||||
| * | fix warnings due to signed char on some platforms | Johannes Ringler | 2022-02-23 | 1 | -4/+4 |
| | | | | | | some context: https://stackoverflow.com/a/10186479/1976323 | ||||
| * | fix unused variable warning with FIXMATH_FAST_SIN (#35) | Johannes Ringler | 2022-02-10 | 1 | -1/+4 |
| | | |||||
| * | Update README.md | Petteri Aimonen | 2021-05-30 | 1 | -0/+2 |
| | | | | Add note about maintenance | ||||
| * | fixed division, undefined behaviors and some improvements (#33) | Martin Bařinka | 2021-05-03 | 26 | -995/+445 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
| * | Unit testing with cmake (#31) | Martin Bařinka | 2021-04-29 | 4 | -16/+44 |
| | | | | | | | | | | * testing using ctest * emove old testing script * added github workflow CI * updated CI | ||||
| * | better unittest script (#30) | Martin Bařinka | 2021-04-29 | 1 | -1/+9 |
| | | |||||
| * | Make unittest #include path consistent (#29) | Petteri Aimonen | 2021-04-29 | 2 | -2/+2 |
| | | |||||
| * | Enable Travis CI | Petteri Aimonen | 2021-04-29 | 1 | -0/+7 |
| | | |||||
| * | Fix compiler warning in fix16_abs() | Petteri Aimonen | 2021-04-29 | 1 | -1/+1 |
| | | |||||
| * | New unittests (#28) | Martin Bařinka | 2021-04-29 | 19 | -15/+545 |
| | | | | Refactor unittests | ||||
| * | Merge pull request #26 from maruncz/hotfix/abs-signed-overflow | Petteri Aimonen | 2021-04-27 | 1 | -1/+1 |
| |\ | | | | | signed integer overflow is undefined behavior | ||||
| | * | fixed: signed integer overflow is undefined behavior | maruncz | 2021-04-27 | 1 | -1/+1 |
| |/ | |||||
| * | Merge pull request #25 from maruncz/master | Petteri Aimonen | 2021-04-22 | 8 | -95/+294 |
| |\ | | | | | Added CMakeLists.txt and some fixes | ||||
| | * | fix formatting | maruncz | 2021-04-22 | 3 | -98/+93 |
| | | | |||||
| | * | fixed some warnings | maruncz | 2021-04-21 | 2 | -42/+41 |
| | | | |||||
| | * | added cmake project file | maruncz | 2021-04-19 | 6 | -89/+294 |
| |/ | |||||
| * | Merge pull request #23 from theacodes/patch-1 | Petteri Aimonen | 2021-01-23 | 2 | -0/+31 |
| |\ | | | | | Add LICENSE | ||||
| | * | Add AUTHORS file | Thea Flowers | 2021-01-22 | 2 | -1/+13 |
| | | | |||||
| | * | Add LICENSE | Stargirl Flowers | 2021-01-21 | 1 | -0/+19 |
| |/ | | | This library is wonderful, however, it's missing an explicit license in its source code. This adds the text of the MIT license along with the name of the original author. This helps folks like me make sure we follow the license terms when using this library. :) | ||||
| * | Merge pull request #21 from HamAndChris/fix_linear_interpolation | Petteri Aimonen | 2020-10-29 | 5 | -36/+85 |
| |\ | | | | | Removed 64-bit restriction on linear interpolation functions, fixed int64 bugs | ||||
| | * | Removed 64-bit restriction on linear interpolation functions. Added more ↵ | Chris Hammond | 2020-10-29 | 5 | -36/+85 |
| | | | | | | | | | | | | | test cases and fixed several bugs in the 64-bit arithmetic functions. Also added script to run all unit tests. | ||||
| * | | Merge pull request #20 from HamAndChris/fix_linear_interpolation | Petteri Aimonen | 2020-10-23 | 3 | -3/+33 |
| |\| | | | | | Fix type conversion bugs in linear interpolation functions | ||||
| | * | Added unit tests for "lerp" functions, and found several type conversion bugs | Chris Hammond | 2020-10-22 | 3 | -3/+33 |
| |/ | |||||
| * | Merge pull request #16 from althonos/patch-1 | Petteri Aimonen | 2020-03-15 | 1 | -1/+1 |
| |\ | | | | | Fix GCC error when compiling in no-overflow mode | ||||
| | * | Fix `elif` without condition in `fix16_trig.c` | Martin Larralde | 2020-03-15 | 1 | -1/+1 |
| |/ | |||||
| * | Merge pull request #15 from dlech/patch-1 | Petteri Aimonen | 2019-12-13 | 1 | -0/+2 |
| |\ | | | | | add #include <stdint.h> to int64.h | ||||
| | * | add #include <stdint.h> to int64.h | David Lechner | 2019-12-12 | 1 | -0/+2 |
| |/ | | | When using the `gcc -M` option to determine header file dependencies, int64.h causes an error because the types from stdint.h are not defined. | ||||
| * | Merge pull request #13 from althonos/patch-1 | Petteri Aimonen | 2019-09-08 | 1 | -0/+4 |
| |\ | | | | | Fix missing function when building without overflow support | ||||
| | * | Fix missing function when building without overflow support | Martin Larralde | 2019-09-08 | 1 | -0/+4 |
| |/ | |||||
| * | Merge pull request #12 from dlech/master | Petteri Aimonen | 2019-06-17 | 4 | -38/+56 |
| |\ | | | | | Fixes | ||||
| | * | Fix conflict with __int64_t typedef | David Lechner | 2019-06-16 | 1 | -32/+32 |
| | | | | | | | | | | | | | On Linux, we get a compile error because __int64_t is defined and included by stdint.h. Double underscores are reseved in C in general and should not be used anyway. Replace with a single leading underscore. | ||||
| | * | add FIXMATH_NO_CTYPE option | David Lechner | 2019-06-16 | 2 | -6/+21 |
| | | | | | | | | | | | | | | | | | 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 tests | David Lechner | 2019-06-16 | 1 | -0/+3 |
| | | | | | | | | | make clean should delete all unit test binary files | ||||
| | * | Add explicit cast in fix16_from_dbl() | David Lechner | 2019-06-16 | 1 | -1/+1 |
| |/ | | | | | | | | | | This fixes the error: implicit conversion from 'float' to 'double' to match other operand of binary expression When the compiler options -fsingle-precision-constant -Wdouble-promotion are set | ||||
| * | Merge pull request #10 from puzrin/patch-1 | Petteri Aimonen | 2019-04-15 | 1 | -1/+1 |
| |\ | | | | | Suppress `-Wconversion` warning | ||||
| | * | Suppress `-Wconversion` warning | Vitaly Puzrin | 2019-04-15 | 1 | -1/+1 |
| |/ | |||||
| * | Merge pull request #9 from puzrin/patch-1 | Petteri Aimonen | 2018-07-27 | 1 | -3/+0 |
| |\ | | | | | platformio: drop 'export' option from config | ||||
| | * | platformio: drop 'export' option from config | Vitaly Puzrin | 2018-07-27 | 1 | -3/+0 |
| |/ | | | Library should be useable from pio both by direct git link and by name. | ||||
| * | Merge pull request #8 from puzrin/master | Petteri Aimonen | 2018-07-24 | 1 | -1/+5 |
| |\ | | | | | Update pio manifest to satisfy registry add rules | ||||
| | * | Update pio manifest to satisfy registry add rules | Vitaly Puzrin | 2018-07-24 | 1 | -1/+5 |
| |/ | |||||
| * | Merge pull request #6 from puzrin/master | Petteri Aimonen | 2018-07-24 | 1 | -0/+18 |
| |\ | | | | | Add library config for PlatformIO | ||||
| | * | Add library config for PlatformIO | Vitaly Puzrin | 2018-07-24 | 1 | -0/+18 |
| |/ | |||||
