You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Circling back to our prompt in the warm-up section, enter in the following table the value(s) and datatype(s) for `x`, `y`, and `z`:
Description | Value(s) | Datatype(s)
---------------- | ----- | -----
`x` is equal to `x`+1 | |
`y` +1 is less than `y` | |
`z` * 2 / 2 is equal to `z` times 2 | |
Note that `int.MinValue` can similarly be used to produce strange mathematical properties of the same kind.
As funny or interesting as that strange behavior may seem, overflow errors actually caused death and millions of dollars of losses repeatedly, as you can read for instance [in this blog post](https://medium.com/@jollyfish/integer-overflow-underflow-and-floating-point-imprecision-6ba869a99033#73a3).
Students and UCAs are having issues with understanding the purpose of the problem. Wording should be revised or problem should be reworked.
The text was updated successfully, but these errors were encountered:
csci-1301.github.io/labs/OverflowAndUnderflow/readme.md
Lines 72 to 84 in 15977f6
Students and UCAs are having issues with understanding the purpose of the problem. Wording should be revised or problem should be reworked.
The text was updated successfully, but these errors were encountered: