xma.math

ceil_divide(x: int, y: int) → int[source]
check_power_of_2(n: int) → bool[source]
divide_if_divisible(dividend: int, divisor: int, msg: str = '') → int[source]
get_next_power_of_2(x: int) → int[source]
get_powers_of_2(start: int, end: int) → list[int][source]