Safe Haskell | Safe |
---|---|
Language | Haskell98 |
This class provides short-cut multiplication and division that checks for 0/0.
Documentation
class Fractional a => C a Source #
Instances
C Double Source # | |
C Float Source # | |
C T Source # | |
Integral a => C (Ratio a) Source # | |
RealFloat a => C (Complex a) Source # | |
C a => C (TrackedNumber a) Source # | |
Defined in UniqueLogic.ST.TF.Example.Verify multiply :: TrackedNumber a -> Maybe (TrackedNumber a) Source # divide :: TrackedNumber a -> TrackedNumber a -> Maybe (TrackedNumber a) Source # |
divideDefault :: (Fractional a, Eq a) => a -> a -> Maybe a Source #