Always false float comparisons

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Thu May 19 17:26:16 PDT 2016


On 5/18/2016 4:30 AM, Ethan Watson wrote:
> I appreciate that it sounds like I'm starting to stretch to hold to my point,
> but I imagine we'd also be able to control such things with the compiler - or at
> least know what flags it uses so that we can ensure consistent behaviour between
> compilation and runtime.

All compilers I know of use "round to nearest" for constant folding, and that is 
not adjustable.


More information about the Digitalmars-d mailing list