'int' is enough for 'length' to migrate code from x86 to x64

Kagamin via Digitalmars-d digitalmars-d at puremagic.com
Tue Nov 25 07:42:12 PST 2014


On Tuesday, 25 November 2014 at 14:30:36 UTC, Ola Fosheim Grøstad 
wrote:
> So you are basically saying that D does not provide modular 
> arithmetic, but allows you to continue with the incorrect 
> result of an overflow as a modulo representation?

Correctness is an emergent property - when behavior matches 
expectation, so overflow has variable correctness in various 
parts of the code.


More information about the Digitalmars-d mailing list