Hoogle Search
Within LTS Haskell 24.31 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
safe-decimal Numeric.Decimal Multiply two decimal numbers that have the same scale, while throwing PrecisionLoss whenever multiplication cannot be done without rounding. Also checks for bounds and can throw Overflow/Underflow.
absBounded :: (MonadThrow m, Num p, Ord p) => p -> m psafe-decimal Numeric.Decimal.BoundedArithmetic Compute absolute value, while checking for Overflow
divBounded :: (MonadThrow m, Integral a, Bounded a) => a -> a -> m asafe-decimal Numeric.Decimal.BoundedArithmetic Divide two numbers while checking for Overflow and DivideByZero
fromIntegerBounded :: (MonadThrow m, Integral a, Bounded a) => Integer -> m asafe-decimal Numeric.Decimal.BoundedArithmetic Convert from an unbounded Integer to a Bounded Integral, while checking for bounds and raising Overflow/Underflow
minusBounded :: (MonadThrow m, Ord a, Num a, Bounded a) => a -> a -> m asafe-decimal Numeric.Decimal.BoundedArithmetic Subtract two bounded numbers while checking for Overflow/Underflow
plusBounded :: (MonadThrow m, Ord a, Num a, Bounded a) => a -> a -> m asafe-decimal Numeric.Decimal.BoundedArithmetic Add two bounded numbers while checking for Overflow/Underflow
quotBounded :: (MonadThrow m, Integral a, Bounded a) => a -> a -> m asafe-decimal Numeric.Decimal.BoundedArithmetic Find quotient of two numbers while checking for Overflow and DivideByZero
quotRemBounded :: (MonadThrow m, Integral a, Bounded a) => a -> a -> m (a, a)safe-decimal Numeric.Decimal.BoundedArithmetic Find quotient an remainder of two numbers while checking for Overflow and DivideByZero
timesBounded :: (MonadThrow m, Integral a, Bounded a) => a -> a -> m asafe-decimal Numeric.Decimal.BoundedArithmetic Multiply two numbers while checking for Overflow
-
streamly Streamly.Internal.Data.SVar No documentation available.