libfixmath/libfixmath
Gaëtan Harter f8596fbada Fix '-Werror=shift-negative-value' for gcc 6
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
2017-09-28 17:06:54 +02: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 Fix error in fix16_lerp16 on platforms with sizeof(int) == 2. 2013-01-28 15:52:08 +00:00
fix16.h Fix '-Werror=shift-negative-value' for gcc 6 2017-09-28 17:06:54 +02:00
fix16.hpp make some member functions const 2017-08-08 13:54:48 -07:00
fix16_exp.c Added abs, floor, ceil, min, max, clamp. 2012-07-25 10:38:03 +00:00
fix16_sqrt.c Fix compile error on GCC 2014-01-16 19:15:34 +00:00
fix16_str.c Added to/from string conversion functions, and testcases for them. 2012-08-29 14:38:36 +00:00
fix16_trig.c Updated coding style document. 2012-07-25 14:49:11 +00: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 Fixed some compiler errors in int64.h. 2011-03-16 10:56:29 +00: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
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