Skip to main content

hal_utils_div_round_opt_t_HAL_DIV_ROUND

Constant hal_utils_div_round_opt_t_HAL_DIV_ROUND 

Source
pub const hal_utils_div_round_opt_t_HAL_DIV_ROUND: hal_utils_div_round_opt_t = 2;
Expand description

< Round the division to the nearest integer (round up if fraction >= 1/2, round down if fraction < 1/2)