Lines Matching defs:fxp_t
23 typedef uint32_t fxp_t;
48 static inline fxp_t
49 fxp_add(fxp_t a, fxp_t b) {
53 static inline fxp_t
54 fxp_sub(fxp_t a, fxp_t b) {
59 static inline fxp_t
60 fxp_mul(fxp_t a, fxp_t b) {
70 static inline fxp_t
71 fxp_div(fxp_t a, fxp_t b) {
83 fxp_round_down(fxp_t a) {
88 fxp_round_nearest(fxp_t a) {
96 * imposed by converting u to an fxp_t.
99 fxp_mul_frac(size_t x_orig, fxp_t frac) {
123 bool fxp_parse(fxp_t *a, const char *ptr, char **end);
124 void fxp_print(fxp_t a, char buf[FXP_BUF_SIZE]);