Status: IN
The complement mask is always exactly `num.bit_length()` bits wide via `(1 << bit_length) - 1`, so the complement never introduces bits above the MSB of the input — this is what distinguishes it from a fixed-width (e.g., 32-bit) complement.