Skip to content

Conversation

@neuralstring
Copy link
Contributor

@neuralstringneuralstring commented Feb 12, 2023

@ghost
Copy link

ghost commented Feb 12, 2023

All commit authors signed the Contributor License Agreement.
CLA signed

@bedevere-botbedevere-bot added awaiting review docs Documentation in the Doc dir skip news labels Feb 12, 2023
Comment on lines -397 to 398
True
>>> 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
Copy link
Member

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.

@arhadthedevarhadthedev changed the title Update tutorial docs related to sum() accuracygh-100425: Update tutorial docs related to sum() accuracyFeb 12, 2023
@rhettingerrhettinger self-assigned this Feb 15, 2023
Copy link
Contributor

@rhettingerrhettinger left a comment

Choose a reason for hiding this comment

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

Please add doctest directives throughout this page. It would have been nice for this issue to have been detected automatically.

@bedevere-bot
Copy link

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 I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@Allimuzzaman
Copy link

file your system

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docsDocumentation in the Doc dirskip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@neuralstring@bedevere-bot@Allimuzzaman@rhettinger@arhadthedev