Professional Documents
Culture Documents
$0.37 0 0 0 0 0 0 0 0 . 0 0 1 1 0 1 1 1
+ +
$0.94 0 0 0 0 0 0 0 0 . 1 0 0 1 0 1 0 0 Expected result = $1.31
0 1 1 1
+
0 1 0 0
=
1 0 1 1 This produces 1 0 1 1 which
isn’t a denary digit; this
will flag an error and the
computer needs to add
This now 1 0 1 1 0 1 1 0.
produces a fifth +
bit which is
0 1 1 0
carried to the
next decimal =
digit position. 1 0 0 0 1
1
remembering the carry bit from the addition above:
0 0 1 1
+
1 0 0 1
+
1
=
1 1 0 1
This produces 1 1 0 1 which isn’t a denary digit; this will flag an error and the
computer again needs to add 0 1 1 0.
1 1 0 1
This again produces +
a fifth bit which is 0 1 1 0
carried to the next =
decimal digit position. 1 0 0 1 1
Adding 1 to 0 0 0 0 0 0 0 0 produces:
0 0 0 0 0 0 0 1
Final answer:
0 0 0 0 0 0 0 1 . 0 0 1 1 0 0 0 1