341 #include "fixmath_export.h"
423 fx_itox(int32_t ival,
unsigned frac);
435 fx_ftox(
float fval,
unsigned frac);
447 fx_dtox(
double dval,
unsigned frac);
459 fx_xtox(fixed_t xval,
unsigned frac1,
unsigned frac2);
470 fx_xtoi(fixed_t xval,
unsigned frac);
481 fx_xtof(fixed_t xval,
unsigned frac);
492 fx_xtod(fixed_t xval,
unsigned frac);
516 fx_ceilx(fixed_t xval,
unsigned frac);
541 fx_addx(fixed_t x1, fixed_t x2);
554 fx_subx(fixed_t x1, fixed_t x2);
570 fx_mulx(fixed_t x1, fixed_t x2,
unsigned frac);
585 fx_divx(fixed_t x1, fixed_t x2,
unsigned frac);
618 fx_itoa(
char *str, int32_t val);
636 fx_xtoa(
char *str, fixed_t xval,
unsigned frac,
unsigned digits);
668 fx_sqrtx(fixed_t xval,
unsigned frac);
700 fx_expx(fixed_t xval,
unsigned frac);
711 fx_exp2x(fixed_t xval,
unsigned frac);
734 fx_logx(fixed_t xval,
unsigned frac);
746 fx_log2x(fixed_t xval,
unsigned frac);
776 fx_powx(fixed_t xval,
unsigned xfrac, fixed_t yval,
unsigned yfrac);
788 fx_sinx(fixed_t xval,
unsigned frac);
800 fx_cosx(fixed_t xval,
unsigned frac);
803 #include "fixmath_impl.h"
int fx_ctz(uint32_t word)
fixed_t fx_logx(fixed_t xval, unsigned frac)
Definition: fixmath.h:362
fixed_t fx_exp10x(fixed_t xval, unsigned frac)
fixed_t fx_addx(fixed_t x1, fixed_t x2)
fixed_t fx_dtox(double dval, unsigned frac)
int32_t fx_ceilx(fixed_t xval, unsigned frac)
fixed_t fx_invx(fixed_t xval, unsigned frac, fx_rdiv_t *rdiv)
int fx_bitcount(uint32_t word)
fixed_t fx_divx(fixed_t x1, fixed_t x2, unsigned frac)
int32_t fx_xtoi(fixed_t xval, unsigned frac)
fixed_t fx_isqrtx(fixed_t xval, unsigned frac, fx_rdiv_t *rdiv)
fixed_t fx_ftox(float fval, unsigned frac)
fixed_t fx_subx(fixed_t x1, fixed_t x2)
int fx_xtoa(char *str, fixed_t xval, unsigned frac, unsigned digits)
fixed_t fx_powx(fixed_t xval, unsigned xfrac, fixed_t yval, unsigned yfrac)
int fx_clz(uint32_t word)
int32_t fixed_t
Definition: fixmath.h:356
fixed_t fx_log10x(fixed_t xval, unsigned frac)
double fx_xtod(fixed_t xval, unsigned frac)
Fixed-point math library - platform-specific definitions.
fixed_t fx_itox(int32_t ival, unsigned frac)
fixed_t fx_sqrtx(fixed_t xval, unsigned frac)
fixed_t fx_cosx(fixed_t xval, unsigned frac)
fixed_t fx_log2x(fixed_t xval, unsigned frac)
fixed_t fx_mulx(fixed_t x1, fixed_t x2, unsigned frac)
fixed_t fx_exp2x(fixed_t xval, unsigned frac)
fixed_t fx_rdivx(fixed_t xval, const fx_rdiv_t *rdiv)
int32_t fx_floorx(fixed_t xval, unsigned frac)
fixed_t fx_expx(fixed_t xval, unsigned frac)
fixed_t fx_sinx(fixed_t xval, unsigned frac)
fixed_t fx_xtox(fixed_t xval, unsigned frac1, unsigned frac2)
Fixed-point math library - function-like macros.
float fx_xtof(fixed_t xval, unsigned frac)
int32_t fx_roundx(fixed_t xval, unsigned frac)
int fx_itoa(char *str, int32_t val)