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

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Fri Nov 21 10:05:41 PST 2014


On Fri, 21 Nov 2014 14:38:26 -0300
Ary Borenszweig via Digitalmars-d <digitalmars-d at puremagic.com> wrote:

> You see, if you don't use a BigNum for everything than you will always 
> have hidden bugs, be it with int, uint or whatever.
why do you believe that i'm not aware of overflows and don't checking
for that? i'm used to think about overflows and do overflow checking in
production code since my Z80 days. and i don't believe that "infrequent
bug" is better than "frequent bug". both are equally bad.
-------------- 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/20141121/7f007604/attachment.sig>


More information about the Digitalmars-d mailing list