M
Michael Cornelius
As an old C programmer, I'm surprised by some results I'm getting with
integer division. For example:
-5
I expect the results of these expressions to be 0 and -4,
respectively.
I've looked at faqs and documentation, and nothing jumped out at me. Can
anyone explain the reasoning for this?
Thanks,
Michael Cornelius
integer division. For example:
-5
I expect the results of these expressions to be 0 and -4,
respectively.
I've looked at faqs and documentation, and nothing jumped out at me. Can
anyone explain the reasoning for this?
Thanks,
Michael Cornelius