Implicit type conversions with data loss
bearophile
bearophileHUGS at lycos.com
Tue Jun 5 15:34:21 PDT 2012
> Languages as Ada, Delphi, C# and few others (C/C++ too, with a
> new Clang feature) know that overflow of fixnums is a very
> common source of bad bugs, so they offer optional run-time
> tests to assignments and numerical operations. D too will
> eventually need those.
A little example of the difficulties involved:
http://blog.regehr.org/archives/721
Bye,
bearophile
More information about the Digitalmars-d
mailing list