Hardware Traps for Integer Overflow

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Thu May 29 08:35:36 PDT 2014


Wanderer:

> If you need perfect calculations, you can always use an 
> according library for numbers with arbitrary precision.

The D Zen points in the opposite direction: if you don't care of 
having bogus results in your code, then use unsafe integers :-)

Bye,
bearophile


More information about the Digitalmars-d mailing list