Portability | portable (FFI) |
---|---|
Stability | provisional |
Maintainer | Matt Morrow <mjm2002@gmail.com> |
- getFloatExcepts :: IO [ArithException]
- clearFloatExcepts :: [ArithException] -> IO Bool
- data ArithException
- = Overflow
- | Underflow
- | LossOfPrecision
- | DivideByZero
- | Denormal
Documentation
getFloatExcepts :: IO [ArithException]Source
Returns all exceptions set in the fpu's exception register.
clearFloatExcepts :: [ArithException] -> IO BoolSource
Clears the specified exceptions from the fpu's exception register.
data ArithException
Arithmetic exceptions.