Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revise Section #150

Open
jweeks2023 opened this issue Nov 3, 2023 · 0 comments
Open

Revise Section #150

jweeks2023 opened this issue Nov 3, 2023 · 0 comments
Labels

Comments

@jweeks2023
Copy link
Contributor

## Strange Mathematical Properties
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.

@jweeks2023 jweeks2023 added the labs label Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant