{"id":"complement-mask-matches-bit-length","text":"The XOR mask is exactly `n.bit_length()` bits wide (`(1 << n.bit_length()) - 1`), so only significant bits are flipped — no fixed 32-bit or 64-bit width assumption.","truth_value":"IN","source":"entries/2026/06/06/complement-of-base-10-integer-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"complement-mask-matches-bit-length","truth_value":"IN","reason":"premise"}]}}