Flint2-0.1.0.5: Haskell bindings for the flint library for number theory
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Number.Flint.Arb.Mag.Instances

Synopsis

Documentation

data Mag Source #

Data structure containing the CMag pointer

Constructors

Mag !(ForeignPtr CMag) 

Instances

Instances details
Num Mag Source # 
Instance details

Defined in Data.Number.Flint.Arb.Mag.Instances

Methods

(+) :: Mag -> Mag -> Mag #

(-) :: Mag -> Mag -> Mag #

(*) :: Mag -> Mag -> Mag #

negate :: Mag -> Mag #

abs :: Mag -> Mag #

signum :: Mag -> Mag #

fromInteger :: Integer -> Mag #

Fractional Mag Source # 
Instance details

Defined in Data.Number.Flint.Arb.Mag.Instances

Methods

(/) :: Mag -> Mag -> Mag #

recip :: Mag -> Mag #

fromRational :: Rational -> Mag #

Show Mag Source # 
Instance details

Defined in Data.Number.Flint.Arb.Mag.Instances

Methods

showsPrec :: Int -> Mag -> ShowS #

show :: Mag -> String #

showList :: [Mag] -> ShowS #

Eq Mag Source # 
Instance details

Defined in Data.Number.Flint.Arb.Mag.Instances

Methods

(==) :: Mag -> Mag -> Bool #

(/=) :: Mag -> Mag -> Bool #

Ord Mag Source # 
Instance details

Defined in Data.Number.Flint.Arb.Mag.Instances

Methods

compare :: Mag -> Mag -> Ordering #

(<) :: Mag -> Mag -> Bool #

(<=) :: Mag -> Mag -> Bool #

(>) :: Mag -> Mag -> Bool #

(>=) :: Mag -> Mag -> Bool #

max :: Mag -> Mag -> Mag #

min :: Mag -> Mag -> Mag #

Orphan instances

Num Mag Source # 
Instance details

Methods

(+) :: Mag -> Mag -> Mag #

(-) :: Mag -> Mag -> Mag #

(*) :: Mag -> Mag -> Mag #

negate :: Mag -> Mag #

abs :: Mag -> Mag #

signum :: Mag -> Mag #

fromInteger :: Integer -> Mag #

Fractional Mag Source # 
Instance details

Methods

(/) :: Mag -> Mag -> Mag #

recip :: Mag -> Mag #

fromRational :: Rational -> Mag #

Show Mag Source # 
Instance details

Methods

showsPrec :: Int -> Mag -> ShowS #

show :: Mag -> String #

showList :: [Mag] -> ShowS #

Eq Mag Source # 
Instance details

Methods

(==) :: Mag -> Mag -> Bool #

(/=) :: Mag -> Mag -> Bool #

Ord Mag Source # 
Instance details

Methods

compare :: Mag -> Mag -> Ordering #

(<) :: Mag -> Mag -> Bool #

(<=) :: Mag -> Mag -> Bool #

(>) :: Mag -> Mag -> Bool #

(>=) :: Mag -> Mag -> Bool #

max :: Mag -> Mag -> Mag #

min :: Mag -> Mag -> Mag #