BigInt and >>>

bearophile via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Dec 19 00:47:47 PST 2014


Andre:

> Do you have any idea how to translate the coding correctly?

Try:

i += long(buffer[3]) << 24 >>> 0;

But I also suggest to add parentheses, to make the code less 
unreadable for humans.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list