Home
last modified time | relevance | path

Searched refs:atemp (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/videomode/
H A Dpickmode.c119 int aspect, refresh, hbest, vbest, abest, atemp, rbest, rtemp; in sort_modes() local
171 atemp = (modes[i].hdisplay * 100 / modes[i].vdisplay); in sort_modes()
178 if (abs(abest - atemp) > (abest / 8) && in sort_modes()
179 abs(aspect - atemp) < abs(aspect - abest)) { in sort_modes()
180 abest = atemp; in sort_modes()
183 if (atemp == abest || in sort_modes()
184 abs(abest - atemp) <= (abest / 8)) { in sort_modes()
/freebsd/contrib/bc/src/
H A Dnum.c3878 BcNum atemp; in bc_num_irand() local
3890 atemp.num = NULL; in bc_num_irand()
3891 atemp.len = 0; in bc_num_irand()
3894 if (BC_ERR(bc_num_nonInt(a, &atemp))) bc_err(BC_ERR_MATH_NON_INTEGER); in bc_num_irand()
3896 assert(atemp.num != NULL); in bc_num_irand()
3897 assert(atemp.len); in bc_num_irand()
3899 if (atemp.len > 2) in bc_num_irand()
3903 len = atemp.len - 2; in bc_num_irand()
3923 if (i == atemp.len - 2) in bc_num_irand()
3930 if (atemp.num[i] != 1) in bc_num_irand()
[all …]