title: Fast way to convert a binary number to a decimal number
body: <p>I have to convert a binary number like for example <code>unsigned int bin_number = 10101010</code> into its decimal representation (i.e. <code>170</code>) as quickly as possible? What is the best algorithm?</p>