fn ceilPowerOfTwoPromote(comptime T: type, value: T) field_call

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. Result is a type with 1 more bit than the input type.

Parameters

T: type,
value: T,