* Leo Broukhis <leob@mailcom.com> [Apr 08. 2015 12:06]:
[...]
Don't believe everything you read about C++ in this mailing list. The C++ committee is not made out of idiots. Unlike signed integers for which overflow is undefined behavior, unsigned integers always behave modulo 2^w.
Don't essentially all existing platforms(*) just treat signed "int"s as what they are: fixed length registers? I know only of Itanium where overflow may trap (not even sure if it's the default there, at least I got no warnings and no traps the single time I used Itanium). (*) CPU + O/S + compiler Best regards, jj
Leo
_______________________________________________ math-fun mailing list math-fun@mailman.xmission.com https://mailman.xmission.com/cgi-bin/mailman/listinfo/math-fun