Part of a series on |
Numeral systems |
---|
List of numeral systems |
The non-adjacent form (NAF) of a number is a unique signed-digit representation, in which non-zero values cannot be adjacent. For example:
All are valid signed-digit representations of 7, but only the final representation, (1 0 0 −1)2, is in non-adjacent form.
The non-adjacent form is also known as "canonical signed digit" representation.