Always false float comparisons
deadalnix via Digitalmars-d
digitalmars-d at puremagic.com
Tue May 17 12:31:53 PDT 2016
On Tuesday, 17 May 2016 at 18:08:47 UTC, Timon Gehr wrote:
> Right. Hence, the 80-bit CTFE results have to be converted to
> the final precision at some point in order to commence the
> runtime computation. This means that additional rounding
> happens, which was not present in the original program. The
> additional total roundoff error this introduces can exceed the
> roundoff error you would have suffered by using the lower
> precision in the first place, sometimes completely defeating
> precision-enhancing improvements to an algorithm.
>
WAT ? Is that really possible ?
More information about the Digitalmars-d
mailing list