Integral literals with Exp?

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Sun Sep 14 17:54:19 PDT 2014


On 9/13/2014 12:23 AM, bearophile wrote:
> Is it a good idea to accept code like this, to shorten some constants?
>
> void main() {
>      int x = 1e6;
> }

1_000_000 solves  that problem.



More information about the Digitalmars-d mailing list