I'm running a very time-consuming post-processor in Python and have encountered a FloatingPointError where I was expecting a ZeroDivisionError.
My code captured the possibility of a ZeroDivisionError in a try except statement:
try: a = b / abs(c)
except ZeroDivisionError: a = 'divZero'
However, I get the following error:
FloatingPointError: divide by zero encountered in divide
Why might I get this error?