dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DotGNU]Pnet signed int bugs


From: Peter Minten
Subject: Re: [DotGNU]Pnet signed int bugs
Date: Wed, 24 Jul 2002 19:09:41 +0200

Rhys Weatherley wrote:

> The behaviour of cscc is consistent with MS'es compiler,
> and with the spec.  I'm curious as to which section of
> the spec you saw this in, as I implemented the coercion
> rules from the spec.

I saw the following like in ECMA 334 XML (Int16 page, MinValue section):
"The value of this constant is -32,768 (hexadecimal 0X8000)."
so I figured I could use (Int16.MinValue == 0X8000).

Btw the stuff works with explicit casts like you said, thanks.

Greetings,

Peter


reply via email to

[Prev in Thread] Current Thread [Next in Thread]