[issue33781] audioop.c: fbound() casts double to int for its return value

Serhiy Storchaka report at bugs.python.org
Wed Jun 6 10:18:13 EDT 2018


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

It was my mistake. fbound() should be return double.

But since it is always used with floor(), it is better to move floor() inside it.

----------
nosy: +serhiy.storchaka
pull_requests: +7073

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33781>
_______________________________________


More information about the Python-bugs-list mailing list