Recall:
The decimal system uses the digits 0-9 to represent a number, and uses
a "place holder" systemH | T | Owhere"H" is the hundreds column (or place), "T" is the tens column, and "O" is the ones column.
1 | 4 | 5
10^2|10^1|10^0so 145 is really {(1*10^2)+(4*10^1)+(5*10^0)}.
1 | 4 | 5
The binary system works under the same principles as the
decimal system, only it operates in powers of 2 rather than powers of
10.
10^2|10^1|10^0
2^2|2^1|2^0
1234.56
can be represented as 1.23456e3
(1.23456 × 103)
in scientific notation.
In scientific notation, the numbers are
normalized so only one digit appears to the left of the decimal point.-990.0
is represented as -9.9e2 (-9.9 ×
102)
(-99,2)
-1.75 × 1038
to 3.40 × 1038
(approximately)brown
is represented
by (165,42,42).