Commit Graph

5 Commits

Author SHA1 Message Date
Chris Hammond 2859cbf31d Added unit tests for "lerp" functions, and found several type conversion bugs 2020-10-22 16:24:49 -04:00
David Lechner d09f7a4396
add #include <stdint.h> to int64.h
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.
2019-12-12 17:02:53 -06:00
David Lechner 11855068c3 Fix conflict with __int64_t typedef
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.
2019-06-16 15:38:23 -05:00
Flatmush b2e8a96e21 Fixed some compiler errors in int64.h.
Fixed and tested ARM assembler version of fix16_mul.
2011-03-16 10:56:29 +00:00
flatmush cc1e97463e 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).
sqrt can now be compiled without 64-bit compiler support.
All remaining functions which aren't supported in 32-bit are now disabled when the FIXMATH_NO_64BIT macro is enable which should stop any compiler errors on compilers where 64-bit isn't supported.
2011-03-03 11:21:20 +00:00