File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -12,15 +12,9 @@ Floating Point Arithmetic: Issues and Limitations
12
12
13
13
14
14
Floating-point numbers are represented in computer hardware as base 2 (binary)
15
- fractions. For example, the decimal fraction ::
16
-
17
- 0.125
18
-
19
- has value 1/10 + 2/100 + 5/1000, and in the same way the binary fraction ::
20
-
21
- 0.001
22
-
23
- has value 0/2 + 0/4 + 1/8. These two fractions have identical values, the only
15
+ fractions. For example, the **decimal ** fraction ``0.125 ``
16
+ has value 1/10 + 2/100 + 5/1000, and in the same way the **binary ** fraction ``0.001 ``
17
+ has value 0/2 + 0/4 + 1/8. These two fractions have identical values, the only
24
18
real difference being that the first is written in base 10 fractional notation,
25
19
and the second in base 2.
26
20
You can’t perform that action at this time.
0 commit comments