Digit reversal reverses a numeral's digit string in a specified radix and width. If has exactly displayed digits, allowing leading zeros, defineIt is an involution on the width- strings: reversing twice restores every digit to its original position.
In four-bit binary representation, reverses to , so the numbers three and twelve are paired at that width. With canonical decimal numerals, reverses to the displayed string , whose numerical value is . Reversing the canonical numeral then gives , so dropping width and leading zeros destroys the involution property.
New to topics? Read the docs here!