trouble with long

eles eles at eles.com
Tue Jul 16 05:12:53 PDT 2013


On Tuesday, 16 July 2013 at 11:14:44 UTC, bearophile wrote:
> eles:
>
> Bye,
> bearophile

Walter: "Consider all the addressing modes used - they are all 
adds, with no overflow checks. Secondly, they all rely on 
wraparound (overflow) arithmetic, after all, that is how 
subtraction is done."

I think the way to go is to introduce "sanitized" integral types,
in conjunction with some compiler flag. If one day Walter agrees
with... This way, everybody is free to use whatever it likes.


More information about the Digitalmars-d-learn mailing list