[Issue 1989] opEquals should return bool

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Sep 10 07:40:36 PDT 2008


http://d.puremagic.com/issues/show_bug.cgi?id=1989





------- Comment #9 from terranium at yandex.ru  2008-09-10 09:40 -------
(In reply to comment #7)
> > int areEqual(int op1, int op2)
> > { return op1-op2; }
> 
> Uh, that doesn't even work.  Try it for yourself and see.
>
Uh, yeah :) negation was reflected in the assembly code.


-- 



More information about the Digitalmars-d-bugs mailing list