Question/request/bug(?) re. floating-point in dmd

David Nadlinger code at klickverbot.at
Wed Oct 23 09:22:10 PDT 2013


On Wednesday, 23 October 2013 at 16:15:56 UTC, 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.
>
> This behavior is fairly deeply embedded into the front end, 
> optimizer, and various back ends.

I know we've had this topic before, but just for the record, I'm 
still not sold on the idea of allowing CTFE to yield different 
results than runtime execution.

David


More information about the Digitalmars-d mailing list