Home
last modified time | relevance | path

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

/openbsd/usr.bin/less/
H A Dos.c92 off_t perden = (percent * (NUM_FRAC_DENOM / 100)) + (fraction / 100); in percent_pos()
96 return (muldiv(pos, perden, (off_t)NUM_FRAC_DENOM)); in percent_pos()
H A Dless.h94 #define NUM_FRAC_DENOM 1000000 macro
H A Doptfunc.c166 jump_sline = sc_height * jump_sline_fraction / NUM_FRAC_DENOM; in calc_jump_sline()
224 shift_count = sc_width * shift_count_fraction / NUM_FRAC_DENOM; in calc_shift_count()