Thanks to visit codestin.com
Credit goes to github.com

Skip to content

002 Add Two Numbers: Remove floating point errors #56

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

Merged
merged 1 commit into from
Jun 20, 2022

Conversation

dannysepler
Copy link
Contributor

Fixes #55 -- I also got this error, I think it comes from inherent python floating point issues. This solution works so long as the inputs are integers (which according to the question, they should be)

Copy link
Owner

@qiyuangong qiyuangong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@qiyuangong qiyuangong mentioned this pull request Jun 20, 2022
@qiyuangong qiyuangong merged commit a7808fb into qiyuangong:master Jun 20, 2022
@dannysepler dannysepler deleted the 002-floating-point branch June 23, 2022 01:07
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

Successfully merging this pull request may close these issues.

Code was wrong :(
2 participants