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

Frank Like via Digitalmars-d digitalmars-d at puremagic.com
Fri Nov 21 01:27:20 PST 2014


Mathematical difference between unsigned value,size comparison
should be done before in the right side of the equal sign
character.

such as:  l3 = (l1 >l2)? (l1 - l2):(l2 - l1);

If this work is done in druntime,small bug will be rarely.D will 
be a real system language.

Frank


More information about the Digitalmars-d mailing list