8000 bpo-45876: Improve accuracy for stdev() and pstdev() in statistics by rhettinger · Pull Request #29736 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-45876: Improve accuracy for stdev() and pstdev() in statistics #29736

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 40 commits into from
Nov 27, 2021
Merged
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
bbd2da9
Merge pull request #1 from python/master
rhettinger Mar 16, 2021
74bdf1b
Merge branch 'master' of github.com:python/cpython
rhettinger Mar 22, 2021
6c53f1a
Merge branch 'master' of github.com:python/cpython
rhettinger Mar 22, 2021
a487c4f
.
rhettinger Mar 24, 2021
eb56423
.
rhettinger Mar 25, 2021
cc7ba06
.
rhettinger Mar 26, 2021
d024dd0
.
rhettinger Apr 22, 2021
b10f912
merge
rhettinger May 5, 2021
fb6744d
merge
rhettinger May 6, 2021
7f21a1c
Merge branch 'main' of github.com:python/cpython
rhettinger Aug 15, 2021
7da42d4
Merge branch 'main' of github.com:rhettinger/cpython
rhettinger Aug 25, 2021
e31757b
Merge branch 'main' of github.com:python/cpython
rhettinger Aug 31, 2021
f058a6f
Merge branch 'main' of github.com:python/cpython
rhettinger Aug 31, 2021
1fc29bd
Merge branch 'main' of github.com:python/cpython
rhettinger Sep 4, 2021
e5c0184
Merge branch 'main' of github.com:python/cpython
rhettinger Oct 30, 2021
3c86ec1
Merge branch 'main' of github.com:python/cpython
rhettinger Nov 9, 2021
96675e4
Merge branch 'main' of github.com:rhettinger/cpython
rhettinger Nov 9, 2021
de558c6
Merge branch 'main' of github.com:python/cpython
rhettinger Nov 9, 2021
418a07f
Merge branch 'main' of github.com:python/cpython
rhettinger Nov 14, 2021
ea23a8b
Merge branch 'main' of github.com:python/cpython
rhettinger Nov 21, 2021
71f7dcd
Inlined code from variance functions
rhettinger Nov 23, 2021
139e19f
Added helper functions for the float square root of a fraction
rhettinger Nov 23, 2021
06c2080
Call helper functions
rhettinger Nov 23, 2021
e7ff885
Add blurb
rhettinger Nov 23, 2021
34d59a5
Fix over-specified test
rhettinger Nov 24, 2021
f6c8a97
Add a test for the _sqrt_frac() helper function
rhettinger Nov 24, 2021
e439945
Increase the tested range
rhettinger Nov 24, 2021
520e216
Add type hints to the internal function.
rhettinger Nov 24, 2021
8c9d78e
Fix test for correct rounding
rhettinger Nov 25, 2021
d36ea9b
Simplify ⌊√(n/m)⌋ calculation
rhettinger Nov 25, 2021
28fdccf
Add comment and beef-up tests
rhettinger Nov 25, 2021
a17f2d9
Test for zero denominator
rhettinger Nov 25, 2021
2aa88b0
Add algorithmic references
rhettinger Nov 25, 2021
64bff13
Add test for the _isqrt_frac_rto() helper function.
rhettinger Nov 26, 2021
4fde157
Compute the 109 instead of hard-wiring it
rhettinger Nov 26, 2021
acc58ff
Stronger test for _isqrt_frac_rto()
rhettinger Nov 26, 2021
eba6e8d
Bigger range
rhettinger Nov 26, 2021
a4354c7
Bigger range
rhettinger Nov 26, 2021
95330ee
Replace float() call with int/int division to be parallel with the ot…
rhettinger Nov 26, 2021
14ff0d1
Factor out division. Update proof link. Remove internal type declaration
rhettinger Nov 26, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' of github.com:python/cpython
  • Loading branch information
rhettinger committed Aug 31, 2021
commit f058a6fd7a3951a9e1efb9922c036d65324755eb

This merge commit was added into this branch cleanly.

There are no new changes to show, but you can still view the diff.

0