Radix: Difference between revisions

From wikinotes
No edit summary
No edit summary
Line 12: Line 12:
|}
|}
</blockquote><!-- Documentation -->
</blockquote><!-- Documentation -->
= Number Bases =
<blockquote>
<syntaxhighlight lang="yaml">
binary:      2
octal:        8
decimal:    10
hexadecimal: 16
</syntaxhighlight>
</blockquote><!-- Number Bases -->

Revision as of 00:22, 3 August 2021

A number's radix or number's base describes when the next higher digit gets incremented.

For example, in the decimal number system (base-10), incrementing beyond 9 adds an extra digit 10.
In the binary number system (base-2), incrementing beyond 01 increments the higher digit 10.

Documentation

wikipedia https://en.wikipedia.org/wiki/Radix

Number Bases

binary:       2
octal:        8
decimal:     10
hexadecimal: 16