Tag Archives: Floating Point Comparison

The Case Against Floating Point ==

While working on the clipping bug, I had to do some floating point comparisons. To handle this virtual mine-field, I used simple precision comparisons. Not surprisingly, I wanted to know what’s ‘the right way’ to do this in Python. When … Continue reading

Posted in Programming, Python | Tagged , , , , | 3 Comments