Leo, I'm sure many of us appreciated your quiet reply about C++. Best regards Neil Neil J. A. Sloane, President, OEIS Foundation. 11 South Adelaide Avenue, Highland Park, NJ 08904, USA. Also Visiting Scientist, Math. Dept., Rutgers University, Piscataway, NJ. Phone: 732 828 6098; home page: http://NeilSloane.com Email: njasloane@gmail.com On Wed, Apr 8, 2015 at 2:04 AM, Leo Broukhis <leob@mailcom.com> wrote:
Warren D Smith wrote:
To DW: Thank you for proving C++ sucks beyond belief and it NOT, contrary to propaganda, a superset of plain C. And, as a followup question, can C++ tell you whether there was an
overflow?
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.
Leo
_______________________________________________ math-fun mailing list math-fun@mailman.xmission.com https://mailman.xmission.com/cgi-bin/mailman/listinfo/math-fun