Skip to content

[2.7] bpo-33781: audioop: enhance rounding double as int (GH-7447)#7452

Merged
vstinner merged 1 commit intopython:2.7from
vstinner:2.7
Jun 6, 2018
Merged

[2.7] bpo-33781: audioop: enhance rounding double as int (GH-7447)#7452
vstinner merged 1 commit intopython:2.7from
vstinner:2.7

Conversation

@vstinner
Copy link
Copy Markdown
Member

@vstinner vstinner commented Jun 6, 2018

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)

https://bugs.python.org/issue33781

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants