Strange calculation problem

Tom S h3r3tic at remove.mat.uni.torun.pl
Tue Aug 25 23:37:48 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...
> 
> Bye,
> bearophile

Ahahahahahahhahahha hahahaha. haha. ha. xD
Thanks, you made my day.


-- 
Tomasz Stachowiak
http://h3.team0xf.com/
h3/h3r3tic on #D freenode


More information about the Digitalmars-d-learn mailing list