Searched refs:ROUND_HALF_DOWN_DIV (Results 1 – 1 of 1) sorted by relevance
45 #define ROUND_HALF_DOWN_DIV(a, b) (((b) != 0) ? ((a) + (b / 2) - 1) / (b) : 0) macro46 #define ROUND_HALF_DOWN_MUL(a, b) (ROUND_HALF_DOWN_DIV(a, b) * (b))99 return ROUND_HALF_DOWN_DIV(a, b); in round_half_down_div()