Encyclopedia > Mixed radix

  Article Content

Mixed radix

Mixed radix numeral systems are unique in that the numerical base may vary from position to position. Such numerical representation is advantageous when representing units that are equivalent to each other, but not by the same ratio. For example, 2 weeks, 5 days, 7 hours, 45 minutes, 15 seconds, and 500 milliseconds can be rendered in mixed-radix notation as:

<math>\begin{bmatrix} 2, 5, 7, 45, 15, 500 \\ \quad 7, 24, 60, 60; 1000 \end{bmatrix} \mbox{seconds} </math>

The digits are written above their base, and a semicolon is used to indicate the radix point[?].

Mixed-radix numbers of the same base can be manipulated using a generalization of manual arithmetic algorithms.

External Resources Donald E. Knuth. The Art of Computer Programming, Volume 2. pp209



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Shoreham, New York

... the average family size is 3.11. In the village the population is spread out with 27.6% under the age of 18, 6.2% from 18 to 24, 17.7% from 25 to 44, 36.0% from 45 to 64, ...

 
 
 
This page was created in 31 ms