lore:balanced_base_27
Balanced base 27
Balanced bace-27 (BB27) is used in vulpithecine computing in a similar manner to hexadecimal. Yinrih computers are based on Balanced Ternary instead of binary, where each digit can represent -1 (written T), 0, or 1. Balanced base-27 uses 27 digits which can represent the decimal range -13 to +13. The Yinrih Internetworking Protocol (YIP) uses BB27 to represent YIP addresses.
The table below is a human-friendly version of what yinrih actually use. Yinrih numerals are written with the highest-order digit to the right, since yinrih write right to left.
For everyday use, yinrih use either base-12 or base-24.
| Balanced Ternary | Decimal | Balanced Base 27 |
|---|---|---|
| TTT | -13 | q |
| TT0 | -12 | p |
| TT1 | -11 | n |
| T0T | -10 | m |
| T00 | -9 | l |
| T01 | -8 | k |
| T1T | -7 | j |
| T10 | -6 | h |
| T11 | -5 | g |
| 0TT | -4 | f |
| 0T0 | -3 | d |
| 0T1 | -2 | c |
| 00T | -1 | b |
| 000 | 0 | 0 |
| 001 | 1 | B |
| 01T | 2 | C |
| 010 | 3 | D |
| 011 | 4 | F |
| 1TT | 5 | G |
| 1T0 | 6 | H |
| 1T1 | 7 | J |
| 10T | 8 | K |
| 100 | 9 | L |
| 101 | 10 | M |
| 11T | 11 | N |
| 110 | 12 | P |
| 111 | 13 | Q |
lore/balanced_base_27.txt · Last modified: by lurker