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
  • What ? matovitch via Digitalmars-d-learn
    • Re: What ? Vladimir Panteleev via Digitalmars-d-learn
    • Re: What ? Brian Schott via Digitalmars-d-learn
      • Re: What ? bearophile via Digitalmars-d-learn

Reply via email to