|
|
|
|
|
by ratmice
190 days ago
|
|
Without the low int the even/odd theorem falls apart for wrap around
I've definitely seen algorithms that rely upon that. I would agree, whether error values are in or out of band is pretty context dependent
such as whether you answered a homework question wrong, or your dog ate it.
One is not a condition that can be graded. |
|
I view both of these as not great. If you strictly want to rely on wraparound behavior, ideally you specify exactly how you're planning to wrap around in the code.