Lines Matching refs:DEN
47 /* Suppose we want to divide two numbers NOM and DEN: NOM/DEN, then we can
49 * (NOM << LSH) / DEN
53 * - (NOM / DEN) fits in (32 - LSH) bits.
54 * - (NOM % DEN) fits in (32 - LSH) bits.
56 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH)) \
57 + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))