8 lines
576 B
HTML
8 lines
576 B
HTML
<h3>Base: 8</h3>
|
||
<p>The octal (base-8) numeral system uses eight digits: 0 through 7. Each position represents a power of 8.</p>
|
||
<h3>How it works</h3>
|
||
<div class="theory-example">177 = 1×64 + 7×8 + 7×1 = 127</div>
|
||
<h3>Digits</h3>
|
||
<div class="theory-example">0 1 2 3 4 5 6 7</div>
|
||
<h3>Uses</h3>
|
||
<p>Octal was widely used in early computing (e.g. PDP-8, IBM mainframes) because it provides a compact way to represent binary numbers: each octal digit maps to exactly three binary digits. Today it appears in Unix file permissions (chmod 755) and some legacy systems.</p> |