fn convertToTwosComplement(r: *Mutable, a: Const, signedness: Signedness, bit_count: usize) void
[src]
If a is positive, this passes through to truncate. If a is negative, then r is set to positive with the bit pattern ~(a - 1). r may alias a.
Asserts r
has enough storage to store the result. The upper bound is calcTwosCompLimbCount(a.len)
.