| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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 |
| |/ | |||||
| * | Merge pull request #4 from cladmi/pr/libfixmath/gcc6 | Petteri Aimonen | 2017-09-28 | 1 | -1/+1 |
| |\ | | | | | Fix '-Werror=shift-negative-value' for gcc 6 | ||||
| | * | Fix '-Werror=shift-negative-value' for gcc 6 | Gaëtan Harter | 2017-09-28 | 1 | -1/+1 |
| |/ | | | | | | | | GCC 6 introduced warning for shift on negative value numbers. When F16C is called with a negative number it evaluates FIXMATH_COMBINE_I_M with both the positive and the negative value. Fixes #3 | ||||
| * | Merge pull request #2 from xli2012/const | Petteri Aimonen | 2017-08-09 | 1 | -8/+8 |
| |\ | | | | | make some member functions const | ||||
| | * | make some member functions const | Xin Li | 2017-08-08 | 1 | -8/+8 |
| |/ | |||||
| * | Add license info, as originally on Google Code. | Petteri Aimonen | 2015-07-07 | 1 | -0/+2 |
| | | |||||
| * | Create README.md | Petteri Aimonen | 2015-07-07 | 1 | -0/+5 |
| | | |||||
| * | Add F16C() macro for defining values without float support. | PetteriAimonen | 2014-12-30 | 3 | -1/+201 |
| | | | | | Implementation by Jonas Zeiger. | ||||
| * | Fix typo in benchmark.c. | PetteriAimonen | 2014-12-30 | 1 | -1/+1 |
| | | |||||
| * | Fix compile error on GCC | PetteriAimonen | 2014-01-16 | 1 | -1/+1 |
| | | |||||
| * | Fix errors on Visual Studio (patch by sunside227) | PetteriAimonen | 2014-01-16 | 2 | -2/+2 |
| | | |||||
| * | Fix bug in fix16_str_unittests on Windows. | PetteriAimonen | 2013-04-19 | 1 | -1/+1 |
| | | | | | | Fixes issue 23. | ||||
| * | Fix bug in the fix16_fft example | PetteriAimonen | 2013-02-17 | 1 | -1/+1 |
| | | |||||
| * | Add #ifndefs around sdiv/smul/sadd/ssub in the C++ interface. | PetteriAimonen | 2013-01-28 | 1 | -0/+10 |
| | | | | | | Closes issue #19. | ||||
| * | Fix error in fix16_lerp16 on platforms with sizeof(int) == 2. | PetteriAimonen | 2013-01-28 | 1 | -2/+2 |
| | | | | | | Patch by georgjohann. Closes issue 20. | ||||
| * | Use >= comparison in fix16_sadd, fix16_ssub. | PetteriAimonen | 2013-01-28 | 1 | -2/+2 |
| | | | | | | | Patch submitted by georgjohann. Closes issue #21. | ||||
| * | Fixed erronous printout of division unit test. | Flatmush | 2012-08-31 | 1 | -3/+3 |
| | | |||||
| * | Fix a division bug on 64-bit platforms. | Petteri.Aimonen | 2012-08-31 | 1 | -1/+1 |
| | | | | | | | | The GCC builtin clzl depends on the sizeof(long), which caused an error if it was other than 32 bits. Fixes issue #17. | ||||
| * | Add shorthand macro F16() for defining numeric constants | Petteri.Aimonen | 2012-08-30 | 1 | -0/+9 |
| | | |||||
| * | Edited wiki page FunctionReference through web user interface. | Petteri.Aimonen | 2012-08-29 | 0 | -0/+0 |
| | | |||||
| * | Added to/from string conversion functions, and testcases for them. | Petteri.Aimonen | 2012-08-29 | 4 | -2/+252 |
| | | |||||
| * | Perform the fix16_min -> fix16_minimum rename in unittests to make them work ↵ | Petteri.Aimonen | 2012-08-29 | 2 | -12/+12 |
| | | | | | again. | ||||
| * | Const allows more optimizations than pure | Petteri.Aimonen | 2012-08-05 | 1 | -2/+2 |
| | | |||||
| * | Add fix16_sq() inline function as a shorthand to square values | Petteri.Aimonen | 2012-08-05 | 1 | -1/+4 |
| | | |||||
| * | Updated coding style document. | Flatmush | 2012-07-25 | 2 | -14/+51 |
| | | | | | | Cleaned up some code. | ||||
| * | Added basic code style document to project. | Flatmush | 2012-07-25 | 1 | -0/+229 |
| | | |||||
| * | Added abs, floor, ceil, min, max, clamp. | Flatmush | 2012-07-25 | 3 | -83/+92 |
| | | | | | | More code cleanup. | ||||
| * | Added log base 2 functions kindly provided by Tev Olsen. | Flatmush | 2012-07-25 | 2 | -2/+109 |
| | | |||||
| * | Added some deg/rad conversion functions. | Flatmush | 2012-07-25 | 4 | -446/+497 |
| | | | | | | | Fixed up some code style inconsistencies. Added a modulo function to allow optimization on 8-bit machines. | ||||
| * | Added a patch to make operator results constant in the C++ interface as ↵ | Flatmush | 2012-07-02 | 1 | -4/+4 |
| | | | | | suggested in Issue 15. | ||||
