Gregory Friedman The Greg Wide Web on the name →

Conversion Tables

Every base from binary to base-64

A browser port of Bases. Digits run 0–9, then A–Z, then a–z, then + and /: sixty-four symbols, so sixty-four bases.

= 778

BaseNameRepresentation
2binary
8octal
10decimal
12duodecimal
16hexadecimal
60sexagesimal (Babylon's)
64base-64

Signed Integers

Where negative numbers live

Binary as written above has no minus sign; a fixed-width register only stores 0s and 1s. The fix is to spend the top bit as a sign bit and let it carry a negative weight. Two's complement, which nearly every machine uses, reads that bit as −2w−1: in a byte, 11010110 is −128 + 86 = −42. To negate a number you flip every bit and add one. Ones' complement is the simpler ancestor, just the flip with no +1: cleaner to describe, but it leaves two zeros (all-0s and all-1s) and a carry quirk, which is why two's complement won.

Bit width

-42 in 8-bit two's complement is 11010110. The leading bit is the sign bit; here it is 1, so the value is negative. The sign bit carries weight -128, so 11010110 reads as -128 + 86 = -42.

The two encodings

ones' 11010101 = 213 unsigned
two's 11010110 = 214 unsigned

The sign bit is tinted. Flip every bit of one row to get the other; the two's-complement row is the ones'-complement row plus one.

Negation: flip, then add one

+42 00101010 the magnitude
flip 11010101 ones' complement
+1 11010110 = -42

Roman Numerals

The system behind the plate numbers

Seven symbols: I (1), V (5), X (10), L (50), C (100), D (500), M (1000). Values add left to right, with one twist: in the six subtractive pairs (IV, IX, XL, XC, CD, CM) a smaller symbol sits before a larger one and is subtracted from it. There is no zero, and nothing above M, so the classical system tops out at MMMCMXCIX: 3999. Every figure on this site carries one of these as its plate number; clicking a plate numeral lands you here.

XIV = 14

Sanskrit śūnya empty; the void, zero Arabic ṣifr empty; zero

Arabic translated the Sanskrit instead of borrowing it, so the word for the empty place is a calque and not a loan. From ṣifr it entered Europe twice, by two roads, and English kept both arrivals.

First road · with the numerals, 12th century

Medieval Latin cifra zero; digit Middle English cifre the figure 0 English cipher zero; secret writing

Off the same Latin: Spanish cifra, French chiffre, Russian цифра, German Ziffer, whose Zifferblatt is the leaf the digits are painted on, that is, a clock face.

Second road · Fibonacci's latinization

Medieval Latin zephirum zero Italian zero zero English zero 0

Italian zefiro contracted in the mouth to zero, which reached English through French zéro around 1600. Spanish cero came straight from the Italian.

Plate 0 The one figure in this atlas whose number is not a roman numeral, which is its whole subject: the seven symbols carry no sign for an empty place, so the converter above runs from I to MMMCMXCIX and there is nothing at all before the I. Both the digit and the word arrived later, out of Arabic ṣifr 'empty', itself a translation of Sanskrit śūnya, and Europe took that one word twice: as Medieval Latin cifra, which became cipher, and as Fibonacci's zephirum, worn down to zero. Zero and cipher are the same word, arrived by two roads and settled on opposite halves of the meaning. The rest of the family, Russian цифра and шифр among them, is drawn in the Word Atlas, listed there as Arabic ṣifr 'empty' → zero & cipher.

Keys on this page

A figure's keys are its own: they answer once the figure has focus, so tab to it or click it first. Esc closes this sheet.