Strange calculation problem

grauzone none at example.net
Tue Aug 25 07:04:02 PDT 2009


bearophile wrote:
> 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...

And this is why bug reports were invented...

> Bye,
> bearophile


More information about the Digitalmars-d-learn mailing list