Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
gh-100425: Update tutorial docs related to sum() accuracy#101854
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
ghost commentedFeb 12, 2023 • edited by ghost
Loading Uh oh!
There was an error while loading.Please reload this page.
edited by ghost
Uh oh!
There was an error while loading.Please reload this page.
>>>sum([0.1]*10) == 1.0 | ||
>>> 0.1 + 0.1 + 0.1 + 0.1 + 0.1 + 0.1 + 0.1 + 0.1 + 0.1 + 0.1 == 1.0 | ||
False |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Can confirm:
RunningRelease|x64interpreter...Python3.12.0a5+ (heads/main:dfc2e065a2,Feb122023,11:14:56) [MSCv.192964bit (AMD64)]onwin32Type"help","copyright","credits"or"license"formoreinformation.>>>sum([0.1]*10)==1.0True>>>0.1+0.1+0.1+0.1+0.1+0.1+0.1+0.1+0.1+0.1==1.0False
@rhettinger as an author of the referenced PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Please adddoctest
directives throughout this page. It would have been nice for this issue to have been detected automatically.
bedevere-bot commentedFeb 15, 2023
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
Allimuzzaman commentedOct 21, 2024
file your system |
Uh oh!
There was an error while loading.Please reload this page.
Related to#100426