haskell · haskell/DivideByZero
DivideByZero
DivideByZero
An ArithException constructor thrown when integer or floating-point division by zero is detected. For Double and Float, division by zero produces Infinity or NaN; for Integral types (Int, Integer) it throws this exception.