Is -1 > 7 ?

Manfred Nowak svv1999 at hotmail.com
Fri Aug 9 08:28:10 PDT 2013


michaelc37 wrote:
> WTF -> -1 is greater than 7 ????
 
>From the docs:

It is an error to have one operand be signed and the other unsigned for a 
<, <=, > or >= expression.

-manfred


More information about the Digitalmars-d-learn mailing list