In Ruby, dividing by zero doesn't always raise a ZeroDivisionError - NaN.