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

task 2 overflow? #5

Open
stchang opened this issue Jan 30, 2020 · 0 comments
Open

task 2 overflow? #5

stchang opened this issue Jan 30, 2020 · 0 comments

Comments

@stchang
Copy link

stchang commented Jan 30, 2020

Something strange happens when celsius box has a large value. For example, type in 100000000000000000000000 (1 followed by 23 zeros). After typing the 23rd zero, the value in the text box changes to 99999999999999991611392. Is some kind of overflow happening?

Other observations:

  • Deleting the last number restores the value to 100000000000000000000000 (1 followed by 22 zeros)
  • The behavior still occurs even when the value is pasted into the text box.

Tested with ubuntu linux and racket 7.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant