D arithmetic problem

Kagamin spam at here.lot
Wed Jun 3 09:28:54 PDT 2009


Daniel Keep Wrote:

> *Every* integral type is signed by default.  Why should byte be an
> exception?

there are two different families of integers
1) tiny, short, int, long - they're signed by default.
2) byte, word, dword, qword - they're unsigned.

D just screwed things.



More information about the Digitalmars-d mailing list