|
|
@@ -33,8 +33,8 @@ |
|
|
|
// handling 32 bit interger overflow at every step |
|
|
|
// without resorting to slow 64 bit math |
|
|
|
#if defined(KINETISK) |
|
|
|
static inline int32_t substract_32_then_divide(int32_t a, int32_t b, int32_t c) __attribute__((always_inline, unused)); |
|
|
|
static inline int32_t substract_32_then_divide(int32_t a, int32_t b, int32_t c) |
|
|
|
static inline int32_t substract_int32_then_divide_int32(int32_t a, int32_t b, int32_t c) __attribute__((always_inline, unused)); |
|
|
|
static inline int32_t substract_int32_then_divide_int32(int32_t a, int32_t b, int32_t c) |
|
|
|
{ |
|
|
|
int r; |
|
|
|
r = substract_32_saturate(a,b); |