Always false float comparisons

Robert burner Schadek via Digitalmars-d digitalmars-d at puremagic.com
Mon May 9 03:02:57 PDT 2016


On Monday, 9 May 2016 at 09:10:19 UTC, Walter Bright wrote:
> So, should the compiler emit a warning for the former case?

I'm not for a compiler change. IMO a library called 
std.sanity_float with a equal and a notequal function would be 
better.


More information about the Digitalmars-d mailing list