numbers-3000.2.0.2: Various number types
Data.Number.Interval
Description
An incomplete implementation of interval aritrhmetic.
data Interval a Source #
Instances
Methods
(==) :: Interval a -> Interval a -> Bool #
(/=) :: Interval a -> Interval a -> Bool #
(/) :: Interval a -> Interval a -> Interval a #
recip :: Interval a -> Interval a #
fromRational :: Rational -> Interval a #
(+) :: Interval a -> Interval a -> Interval a #
(-) :: Interval a -> Interval a -> Interval a #
(*) :: Interval a -> Interval a -> Interval a #
negate :: Interval a -> Interval a #
abs :: Interval a -> Interval a #
signum :: Interval a -> Interval a #
fromInteger :: Integer -> Interval a #
compare :: Interval a -> Interval a -> Ordering #
(<) :: Interval a -> Interval a -> Bool #
(<=) :: Interval a -> Interval a -> Bool #
(>) :: Interval a -> Interval a -> Bool #
(>=) :: Interval a -> Interval a -> Bool #
max :: Interval a -> Interval a -> Interval a #
min :: Interval a -> Interval a -> Interval a #
showsPrec :: Int -> Interval a -> ShowS #
show :: Interval a -> String #
showList :: [Interval a] -> ShowS #
ival :: Ord a => a -> a -> Interval a Source #
getIval :: Interval a -> (a, a) Source #