checkedint call removal

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Mon Jul 28 04:13:27 PDT 2014


Ola Fosheim Grøstad:

> D promotes int to uint, right? Which is a bad idea. It should 
> promote to long, right?

The purpose of safe integral operations like muls() is to detect 
overflow bugs at run-time. If they don't detect bugs, they are 
not useful.

Bye,
bearophile


More information about the Digitalmars-d mailing list