On Fri, Oct 23, 2015 at 4:16 PM, Rousselot, Richard A <
Richard.A.Rousselot at centurylink.com> wrote:

> So I decided to output 1000 digits, because why not?  So now I am more
> perplexed with all these digits showing it is working the opposite of how I
> expected it.  Why is the second set of equations evaluating to a "yes" when
> it is the only one that is obviously NOT equal to the expression???
>

Indeed, that's puzzling :)

To know for sure, you'd need Keith's custom ieee754() function probably.
Until you can have a look at the actual bits of the computed double, to see
the sign/exponent/mantissa at the binary level, hard to say.
Could be your use of 1000f too! 15 decimal digits is typical for double.
--DD

Reply via email to