What ?

bearophile via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Mar 30 15:39:09 PDT 2015


Brian Schott:

> Do this instead:
>
> ulong u = 1L << 63;

I suggest a more explicit:

ulong u = 1UL << 63;

Alternative:

ulong u = 2UL ^^ 63;

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list