Strange calculation problem

bearophile bearophileHUGS at lycos.com
Tue Aug 25 03:53:03 PDT 2009


Lars T. Kyllingstad:
> I think the compiler should be smart enough to figure this out for 
> itself, but until that happens you can work around it by suffixing at 
> least one of the integer literals with LU, so the compiler interprets 
> the entire expression as an ulong:

To make this fix happen Walter has to know this problem exists...

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list