D arithmetic problem
Tim Matthews
tim.matthews7 at gmail.com
Tue Jun 2 23:20:33 PDT 2009
Paul D. Anderson wrote:
> The behavior is consistent with the specification -- see http://www.digitalmars.com/d/1.0/type.html.
>
> Most C-based languages will do the same.
>
You are slightly missing the point. The point is byte should be unsigned
and a separate name for signed. Dot net actually has Byte for unsigned
and SByte for signed so its harder to make that error. Too late to
change now though.
More information about the Digitalmars-d
mailing list