#include "global.h"
#include "fixed.h"
Go to the source code of this file.
Functions | |
mad_fixed_t | mad_f_abs (mad_fixed_t x) |
return absolute value of a fixed-point number. | |
mad_fixed_t | mad_f_div (mad_fixed_t x, mad_fixed_t y) |
perform division using fixed-point math. |
Definition in file fixed.c.
mad_fixed_t mad_f_abs | ( | mad_fixed_t | x | ) |
return absolute value of a fixed-point number.
Definition at line 36 of file fixed.c.
Referenced by mad_f_div().
mad_fixed_t mad_f_div | ( | mad_fixed_t | x, | |
mad_fixed_t | y | |||
) |
perform division using fixed-point math.
Definition at line 44 of file fixed.c.
References mad_f_abs(), MAD_F_FRACBITS, mad_f_intpart, MAD_F_MAX, and MAD_F_MIN.