Binary number 1197. Note that the first Prior Value of 0 is simply an initial decimal value. This method is an application of the Horner scheme. The fractional parts of a number are converted with similar methods. They are again based on the equivalence of shifting with doubling or halving. In a fractional binary number such as 0.11010110101, the first digit is formula_7, the second formula_8, etc. So if there is a 1 in the first place after the decimal, then the number is at least formula_7, and vice versa. Double that number is at least 1. This suggests the algorithm: Repeatedly
Binary number is either doubled or has the first number added back into it; the order in which these steps are to be performed is given by the binary representation of the second number. This method can be seen in use, for instance, in the Rhind Mathematical Papyrus, which dates to around 1650 BC. The I Ching dates from the 9th century BC in China. The binary notation in the "I Ching" is used to interpret its quaternary divination technique. It is based on taoistic duality of yin and yang. eight trigrams (Bagua) and a set of 64 hexagrams ("sixty-four" gua), analogous