-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
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
bpo-33781: audioop: enhance rounding double as int #7447
Conversation
Move the floor() call into fbound() to call floor() on a double rather than an int. The change might enhance the rounding.
VSTS: Windows-PR failed with an internal error: https://bugs.python.org/issue33782 |
Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7. |
Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 2.7. |
Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6. |
GH-7450 is a backport of this pull request to the 3.7 branch. |
Move the floor() call into fbound() to call floor() on a double rather than an int. The change should enhance the rounding. Document also (int)double rounding mode. (cherry picked from commit 45e4efb) Co-authored-by: Victor Stinner <vstinner@redhat.com>
GH-7451 is a backport of this pull request to the 3.6 branch. |
Move the floor() call into fbound() to call floor() on a double rather than an int. The change should enhance the rounding. Document also (int)double rounding mode. (cherry picked from commit 45e4efb) Co-authored-by: Victor Stinner <vstinner@redhat.com>
Sorry, @vstinner, I could not cleanly backport this to |
Move the floor() call into fbound() to call floor() on a double rather than an int. The change should enhance the rounding. Document also (int)double rounding mode. (cherry picked from commit 45e4efb) Co-authored-by: Victor Stinner <vstinner@redhat.com>
GH-7452 is a backport of this pull request to the 2.7 branch. |
Move the floor() call into fbound() to call floor() on a double rather than an int. The change should enhance the rounding. Document also (int)double rounding mode. (cherry picked from commit 45e4efb) Co-authored-by: Victor Stinner <vstinner@redhat.com>
Move the floor() call into fbound() to call floor() on a double
rather than an int. The change might enhance the rounding.
https://bugs.python.org/issue33781