Skip to main content

round_up_pow2n_u64

Function round_up_pow2n_u64 

Source
pub const fn round_up_pow2n_u64(x: u64, a: u64) -> u64
Expand description

computes round up of x to the nearest multiple of a, specialized for a is a power of 2 (u64)