--- Comment #5 from Walter Bright <> 2012-07-30 
21:00:54 PDT ---
(In reply to comment #2)
> (In reply to comment #1)
> > The compiler is always allowed to use a higher precision
> > for intermediate calculations than the source is typed.
> A disadvantage of this is loss of floating point reproducibility across
> compilers, maybe similar to using the "-ffast-math" of GCC.

D made the decision early on that:

    more precision == better

and that any program that relied on results being less accurate was a faulty
program. Use of float should be for:

1. speed
2. less memory consumption

and *never* for reduced precision. float guarantees a *minimum* precision, not
a maximum.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to