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.

  1. timesDecimalBoundedWithoutLoss :: forall r (s :: Nat) p m . (Integral p, Bounded p, KnownNat s, MonadThrow m) => Decimal r s p -> Decimal r s p -> m (Decimal r s p)

    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.

  2. absBounded :: (MonadThrow m, Num p, Ord p) => p -> m p

    safe-decimal Numeric.Decimal.BoundedArithmetic

    Compute absolute value, while checking for Overflow

  3. divBounded :: (MonadThrow m, Integral a, Bounded a) => a -> a -> m a

    safe-decimal Numeric.Decimal.BoundedArithmetic

    Divide two numbers while checking for Overflow and DivideByZero

  4. fromIntegerBounded :: (MonadThrow m, Integral a, Bounded a) => Integer -> m a

    safe-decimal Numeric.Decimal.BoundedArithmetic

    Convert from an unbounded Integer to a Bounded Integral, while checking for bounds and raising Overflow/Underflow

  5. minusBounded :: (MonadThrow m, Ord a, Num a, Bounded a) => a -> a -> m a

    safe-decimal Numeric.Decimal.BoundedArithmetic

    Subtract two bounded numbers while checking for Overflow/Underflow

  6. plusBounded :: (MonadThrow m, Ord a, Num a, Bounded a) => a -> a -> m a

    safe-decimal Numeric.Decimal.BoundedArithmetic

    Add two bounded numbers while checking for Overflow/Underflow

  7. quotBounded :: (MonadThrow m, Integral a, Bounded a) => a -> a -> m a

    safe-decimal Numeric.Decimal.BoundedArithmetic

    Find quotient of two numbers while checking for Overflow and DivideByZero

  8. 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

  9. timesBounded :: (MonadThrow m, Integral a, Bounded a) => a -> a -> m a

    safe-decimal Numeric.Decimal.BoundedArithmetic

    Multiply two numbers while checking for Overflow

  10. postProcessBounded :: forall m (t :: (Type -> Type) -> Type -> Type) a . MonadAsync m => SVar t m a -> m Bool

    streamly Streamly.Internal.Data.SVar

    No documentation available.

Page 46 of many | Previous | Next