pub fn bitCountTwosCompForSignedness(self: Const, signedness: std.builtin.Signedness) usize self: Constsignedness: std.builtin.Signedness2252
2253
2254 pub fn bitCountTwosCompForSignedness(self: Const, signedness: std.builtin.Signedness) usize {
return self.bitCountTwosComp() + @intFromBool(self.positive and signedness == .signed);
}
Returns the number of bits required to represent the integer in twos-complement form with the given signedness.