Binary number double the number to be converted, record if the result is at least 1, and then throw away the integer part. For example, formula_10, in binary, is: Thus the repeating decimal fraction 0... is equivalent to the repeating binary fraction 0... . Or for example, 0.1, in binary, is: This is also a repeating binary fraction 0.0... . It may come as a surprise that terminating decimal fractions can have repeating expansions in binary. It is for this reason that many are surprised to discover that 0.1 + ... + 0.1, (10 additions) differs from 1 in floating point arithmetic.
Binary number 5 is 5, with a remainder of 2. The process of taking a binary square root digit by digit is the same as for a decimal square root, and is explained here. An example is: Though not directly related to the numerical interpretation of binary symbols, sequences of bits may be manipulated using Boolean logical operators. When a string of binary symbols is manipulated in this way, it is called a bitwise operation; the logical operators AND, OR, and XOR may be performed on corresponding bits in two binary numerals provided as input. The logical NOT operation may be performed