Always false float comparisons

Era Scarecrow via Digitalmars-d digitalmars-d at puremagic.com
Sat May 14 13:59:50 PDT 2016


On Saturday, 14 May 2016 at 20:54:44 UTC, Binarydepth wrote:
> On Saturday, 14 May 2016 at 20:41:12 UTC, Era Scarecrow wrote:
>>     writeln(f == 1.30f);
>>     writeln(cf == 1.30f);
>>     writeln(If == 1.30f);
>
>
> I guess this returned True ?

I only noted the ones that returned false, since those are the 
interesting cases.


More information about the Digitalmars-d mailing list