inline fn boolMask(comptime MaskInt: type, value: bool) MaskInt
[src]
Returns a mask of all ones if value is true, and a mask of all zeroes if value is false. Compiles to one instruction for register sized integers.
inline fn boolMask(comptime MaskInt: type, value: bool) MaskInt
Returns a mask of all ones if value is true, and a mask of all zeroes if value is false. Compiles to one instruction for register sized integers.