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

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Mon Nov 24 08:00:40 PST 2014


On Mon, 24 Nov 2014 12:54:58 +0000
Don via Digitalmars-d <digitalmars-d at puremagic.com> wrote:

> In D,  1u - 2u > 0u. This is defined behaviour, not an overflow.
this *is* overflow. D just has overflow result defined.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20141124/9eeabd6b/attachment-0001.sig>


More information about the Digitalmars-d mailing list