Skip to content

Instantly share code, notes, and snippets.

@aszx87410
Created August 7, 2015 02:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aszx87410/c18c6da4247899bd7a59 to your computer and use it in GitHub Desktop.
Save aszx87410/c18c6da4247899bd7a59 to your computer and use it in GitHub Desktop.
Hello!
##10進位
20 = 2*10<sup>1</sup> + 0*10<sup>0</sup>
25 = 2*10<sup>1</sup> + 5*10<sup>0</sup>
234 = 2*10<sup>2</sup> +3*10<sup>1</sup> + 4*10<sup>0</sup>
##2進位
1
10
11
100
101
110
111
111 = 1*2<sup>2</sup> +1*2<sup>1</sup> + 1*2<sup>0</sup> = 7
10000 = 2<sup>4</sup> = 16
##16進位
8
9
A
B
C
D
E
F
10
10 = 1*16<sup>1</sup> +0*16<sup>0</sup> = 16
3F = 3*16<sup>1</sup> +15*16<sup>0</sup> = 63
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment