On 10/23/2013 06:16 PM, Walter Bright wrote:
A D compiler is allowed to compute floating point results at arbitrarily
large precision - the storage size (float, double, real) only specify
the minimum precision.
It seems like there is some change in C99 to address excess precision.
Namely assignments and casts are NOT allowed to have greater precision.
Not sure if assignments refers to first storing and then loading a
value. So maybe it's useful to review that rule.
http://stackoverflow.com/questions/503436/how-to-deal-with-excess-precision-in-floating-point-computations/503523#503523
http://gcc.gnu.org/ml/gcc-patches/2008-11/msg00105.html