Skip to main content

Module round

Module round 

Source

Functionsยง

round_div
Computes the rounded division of numerator / denominator.
round_down
Round offset down to the previous multiple of block_size.
round_up
Round offset up to next multiple of block_size. This function will fail if rounding up leads to an integer overflow.