Binary code The modern binary number system, the basis for binary code, was invented by Gottfried Leibniz in 1689 and appears in his article "Explication de l'Arithmétique Binaire". The full title is translated into English as the "Explanation of the binary arithmetic", which uses only the characters 1 and 0, with some remarks on its usefulness, and on the light it throws on the ancient Chinese figures of Fu Xi." (1703). Leibniz's system uses 0 and 1, like the modern binary numeral system. Leibniz encountered the "I Ching" through French Jesuit Joachim Bouvet and noted with fascination how its hexagrams correspond to
Binary number the decimal system). For example, the binary number 11.01 thus means: For a total of 3.25 decimal. All dyadic rational numbers formula_16 have a "terminating" binary numeral—the binary representation has a finite number of terms after the radix point. Other rational numbers have binary representation, but instead of terminating, they "recur", with a finite sequence of digits repeating indefinitely. For instance The phenomenon that the binary representation of any rational is either terminating or recurring also occurs in other radix-based numeral systems. See, for instance, the explanation in decimal. Another similarity is the existence of alternative representations for any terminating