Searched refs:NUM_FRAC_DENOM (Results 1 – 3 of 3) sorted by relevance
427 * && 0 <= FRACTION < (PERCENT == 100 ? 1 : NUM_FRAC_DENOM)),434 * to pctden (parts per 100 * NUM_FRAC_DENOM). in percent_pos() 436 POSITION pctden = (percent * NUM_FRAC_DENOM) + fraction; in percent_pos() 438 return (POSITION) muldiv(pos, pctden, 100 * NUM_FRAC_DENOM);
243 jump_sline = (int) muldiv(sc_height, jump_sline_fraction, NUM_FRAC_DENOM); in opt_shift() 271 shift_count = (int) muldiv(sc_width, shift_count_fraction, NUM_FRAC_DENOM);868 match_shift = (int) muldiv(sc_width, match_shift_fraction, NUM_FRAC_DENOM);
361 * A fraction is represented by a long n; the fraction is n/NUM_FRAC_DENOM.364 #define NUM_FRAC_DENOM 1000000369 #define NUM_FRAC_DENOM global() macro