Self reminder about BASE encoding

BASE 2:

[0-1] * 22   +   [0-1] * 21   +   [0-1] * 20

 

BASE 16:

[0-15] * 162   +   [0-15] * 161   +   [0-15] * 160

 

BASE 10:

[0-9] * 102   +   [0-9] * 101   +   [0-9] * 100

 

Note: any number raised to the 0 power is 1, except for 0 (0 to the 0 power is 0).

 

Here's a good link:

http://code.tutsplus.com/tutorials/number-systems-an-introduction-to-binary-hexadecimal-and-more--active-10848

 

Here's an Android game that helps you do base conversions:

https://play.google.com/store/apps/details?id=me.akeel.basegame&hl=en

 

Add a Comment...