Thread Links Date Links
Thread Prev Thread Next Thread Index Date Prev Date Next Date Index

Re: About exact results and exact endpoints



On 2/13/2013 8:10 AM, Hossam A. H. Fahmy wrote:
...

Anyhow, we both agree that the decimal 0.1 cannot be represented exactly by
the rational given by Richard and hence both of his representations have some loss.
If you look at my note, I used the notation 0.1d0  not 0.1.

 I used a shorthand for the number that is produced by decimal-to-binary
conversion in IEEE 754 double-float 64-bit.  That number is not exactly 1/10, which, as we agree,
does not fall on any binary-float value. Instead, 0.1d0 falls closest to that ratio given earlier:
3602879701896397/ 2^55