fn ceilPowerOfTwoAssert(comptime T: type, value: T) T

Returns the next power of two (if the value is not already a power of two). Only unsigned integers can be used. Zero is not an allowed input. Asserts that the value fits.

Parameters

T: type,
value: T,