Serhiy Storchaka added the comment:
> The modulus fixes it for exact numbers. It doesn't produce exactly the same
> result with floats, because of rounding. Is that a problem?
I don't think that is a problem. The function uses a number of floating point
operations producing inexact
Bryan B added the comment:
Well, the other issue was resolved by updating Python on my computer to 3.6 ;)
Setting up the entire Python build and test environment for an issue this small
seems a little excessive, especially for a module that seems seldomly used. I'm
gonna have to be that guy