What does C++ do with overflow?
What does Java do with overflow?
When C++ has a overflow error, i think it goes to the smallest possible number and adds from there, but I’m not exactly sure. I don’t know how java handles this problem?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In n3242 of the C++ standard
5 Expressions [expr]
Paragraph 5.4:
From OP
No. It just seems like that sometimes.