Closed elad661 closed 10 years ago
Properly fixing issue #4 would do away with this, too, as that would entail getting rid of floating point arithmetic and only using integer arithmetic, but as I'm not sure when I'll get around to do that, I'll do this.
[done. see 0612e2]
For full compatability between python2 and python3, use python3 style "True division" Just add
if you want it to work in Python versions older than 2.2, then you can put a try-except block around this.
You talked about rounding errors in other bugs. Adding this will (probably) solve them.