Question about iteger literals

Steven Schveighoffer via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jun 23 11:32:38 PDT 2014


On Sun, 22 Jun 2014 08:23:45 -0400, Uranuz <neuranuz at gmail.com> wrote:

> If these rules are not so clear and have some exceptions (but I don't  
> understand why they are needed) then some documentation needed about  
> this.

See integer promotion rules:

http://dlang.org/type.html#Integer%20Promotions

And the section below it.

-Steve


More information about the Digitalmars-d-learn mailing list