Binary number
Representing real numbers

Non-integers can be represented by using negative powers, which are set off from the other digits by means of a radix point (called a decimal point in the decimal system). For example, the binary number 11.01 means:

For a total of 3.25 decimal.

All dyadic rational numbers p 2 a {\displaystyle {\frac {p}{2^{a}}}} 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

1 10 3 10 = 1 2 11 2 = 0.01010101 01 ¯ … 2 {\displaystyle {\frac {1_{10}}{3_{10}}}={\frac {1_{2}}{11_{2}}}=0.01010101{\overline {01}}\ldots \,_{2}} 12 10 17 10 = 1100 2 10001 2 = 0.1011010010110100 10110100 ¯ … 2 {\displaystyle {\frac {12_{10}}{17_{10}}}={\frac {1100_{2}}{10001_{2}}}=0.1011010010110100{\overline {10110100}}\ldots \,_{2}}

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 representation, relying on the fact that 0.111111... is the sum of the geometric series 2 + 2 + 2 +... which is 1.

Binary numerals that neither terminate nor recur represent irrational numbers. For instance,
length_constraints:number_sentences[8], detectable_content:number_placeholders[8], keywords:frequency