Skip to main content

align_up

Function align_up 

pub const fn align_up(x: usize, a: usize) -> usize
Expand description

Round x up to the next multiple of power-of-two alignment a.