Searched refs:div_floor (Results 1 – 9 of 9) sorted by relevance
| /dflybsd-src/usr.bin/calendar/ |
| H A D | gregorian.c | 80 div_floor(date->year - 1, 4) - in fixed_from_gregorian() 81 div_floor(date->year - 1, 100) + in fixed_from_gregorian() 82 div_floor(date->year - 1, 400) + in fixed_from_gregorian() 83 div_floor(date->month * 367 - 362, 12)); in fixed_from_gregorian() 116 int n400 = div_floor(d0, 146097); in gregorian_year_from_fixed() 117 int n100 = div_floor(d1, 36524); in gregorian_year_from_fixed() 118 int n4 = div_floor(d2, 1461); in gregorian_year_from_fixed() 119 int n1 = div_floor(d3, 365); in gregorian_year_from_fixed() 161 date->month = div_floor(12 * (pdays + correction) + 373, 367); in gregorian_from_fixed()
|
| H A D | julian.c | 79 div_floor(y - 1, 4) + in fixed_from_julian() 80 div_floor(date->month * 367 - 362, 12)); in fixed_from_julian() 100 date->year = div_floor(4 * (rd - epoch) + 1464, 1461); in julian_from_fixed() 114 date->month = div_floor(12 * (pdays + correction) + 373, 367); in julian_from_fixed()
|
| H A D | ecclesiastical.c | 78 int century = div_floor(g_year, 100) + 1; in easter() 81 div_floor(5 + 8 * century, 25)); in easter()
|
| H A D | utils.h | 123 div_floor(int x, int y) in div_floor() function 140 return x - y * div_floor(x, y); in mod()
|
| H A D | chinese.c | 109 return mod1(2 + div_floor((int)lon, 30), 12); in current_major_solar_term() 279 date->cycle = div_floor(elapsed_years - 1, 60) + 1; in chinese_from_fixed()
|
| /dflybsd-src/contrib/gcc-8.0/gcc/ |
| H A D | wide-int.h | 556 BINARY_FUNCTION div_floor (const T1 &, const T2 &, signop, bool * = 0); 2619 wi::div_floor (const T1 &x, const T2 &y, signop sgn, bool *overflow) 2644 return div_floor (x, y, SIGNED); 2653 return div_floor (x, y, UNSIGNED);
|
| H A D | tree-if-conv.c | 803 valid_niter = wi::div_floor (delta, wi_step, SIGNED, &overflow); in idx_within_array_bound()
|
| H A D | tree-vrp.c | 1016 *res = wi::div_floor (wi::to_wide (val1), in vrp_int_const_binop()
|
| H A D | fold-const.c | 1061 res = wi::div_floor (arg1, arg2, sign, &overflow); in int_const_binop_2()
|