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 logarithm Binary logarithm In mathematics, the binary logarithm () is the power to which the number must be raised to obtain the value . That is, for any real number , For example, the binary logarithm of is , the binary logarithm of is , the binary logarithm of is , and the binary logarithm of is . The binary logarithm is the logarithm to the base . The binary logarithm function is the inverse function of the power of two function. As well as , alternative notations for the binary logarithm include , , (the notation preferred by ISO 31-11