26#if !defined(_MATH_FIXED_H_)
36#if defined(__cplusplus)
41#if defined(SPANDSP_USE_FIXED_POINT)
42SPAN_DECLARE(uint16_t) sqrtu32_u16(uint32_t x);
45SPAN_DECLARE(uint16_t) fixed_reciprocal16(uint16_t x,
int *shift);
47SPAN_DECLARE(uint16_t) fixed_divide16(uint16_t y, uint16_t x);
49SPAN_DECLARE(uint16_t) fixed_divide32(uint32_t y, uint16_t x);
51SPAN_DECLARE(int16_t) fixed_log10_16(uint16_t x);
53SPAN_DECLARE(int32_t) fixed_log10_32(uint32_t x);
55SPAN_DECLARE(uint16_t) fixed_sqrt16(uint16_t x);
57SPAN_DECLARE(uint16_t) fixed_sqrt32(uint32_t x);
63SPAN_DECLARE(int16_t)
fixed_sin(uint16_t x);
69SPAN_DECLARE(int16_t)
fixed_cos(uint16_t x);
76SPAN_DECLARE(uint16_t)
fixed_atan2(int16_t y, int16_t x);
78#if defined(__cplusplus)
int16_t fixed_cos(uint16_t x)
Evaluate an approximate 16 bit fixed point cosine.
Definition math_fixed.c:188
int16_t fixed_sin(uint16_t x)
Evaluate an approximate 16 bit fixed point sine.
Definition math_fixed.c:163
uint16_t fixed_atan2(int16_t y, int16_t x)
Evaluate an approximate 16 bit fixed point sine.
Definition math_fixed.c:214