Searched refs:NUM_FRAC_DENOM (Results 1 - 3 of 3) sorted by relevance

/freebsd-9.3-release/contrib/less/
H A Dos.c294 /* Change percent (parts per 100) to perden (parts per NUM_FRAC_DENOM). */
295 POSITION perden = (percent * (NUM_FRAC_DENOM / 100)) + (fraction / 100);
299 return (POSITION) muldiv(pos, perden, (POSITION) NUM_FRAC_DENOM);
H A Doptfunc.c195 jump_sline = sc_height * jump_sline_fraction / NUM_FRAC_DENOM;
259 shift_count = sc_width * shift_count_fraction / NUM_FRAC_DENOM;
H A Dless.h318 /* A fraction is represented by an int n; the fraction is n/NUM_FRAC_DENOM */
319 #define NUM_FRAC_DENOM 1000000 macro

Completed in 46 milliseconds