bpo-33781: audioop: enhance rounding double as int (GH-7447) · pythoncapi/cpython@45e4efb · GitHub
Skip to content

Commit 45e4efb

Browse files
authored
bpo-33781: audioop: enhance rounding double as int (pythonGH-7447)
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.
1 parent 36c60fb commit 45e4efb

1 file changed

Lines changed: 17 additions & 11 deletions

File tree

Modules/audioop.c

Lines changed: 17 additions & 11 deletions

0 commit comments

Comments
 (0)