fn ceilPowerOfTwo(comptime T: type, value: T) error{Overflow}!T
[src]
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. If the value doesn’t fit, returns an error.