Closed rev138 closed 5 years ago
As noted in https://github.com/lmacken/quantumrandom/issues/20, the randint() method incorrectly returns floats in python 3, due to changes in the behavior of the division operator. This PR uses "floor division" to ensure integer results (see: https://docs.python.org/3/glossary.html#term-floor-division)
randint()
Wrong branch 🤦♂️
As noted in https://github.com/lmacken/quantumrandom/issues/20, the
randint()
method incorrectly returns floats in python 3, due to changes in the behavior of the division operator. This PR uses "floor division" to ensure integer results (see: https://docs.python.org/3/glossary.html#term-floor-division)