Data.Number.Flint.Fmpq.Instances
Contents
data Fmpq Source #
Rational numbers (opaque pointer)
Defined in Data.Number.Flint.Calcium.Fexpr.Instances
Methods
toFexpr :: Fmpq -> IO Fexpr Source #
Defined in Data.Number.Flint.Fmpq.Instances
(+) :: Fmpq -> Fmpq -> Fmpq #
(-) :: Fmpq -> Fmpq -> Fmpq #
(*) :: Fmpq -> Fmpq -> Fmpq #
negate :: Fmpq -> Fmpq #
abs :: Fmpq -> Fmpq #
signum :: Fmpq -> Fmpq #
fromInteger :: Integer -> Fmpq #
readsPrec :: Int -> ReadS Fmpq #
readList :: ReadS [Fmpq] #
readPrec :: ReadPrec Fmpq #
readListPrec :: ReadPrec [Fmpq] #
(/) :: Fmpq -> Fmpq -> Fmpq #
recip :: Fmpq -> Fmpq #
fromRational :: Rational -> Fmpq #
toRational :: Fmpq -> Rational #
properFraction :: Integral b => Fmpq -> (b, Fmpq) #
truncate :: Integral b => Fmpq -> b #
round :: Integral b => Fmpq -> b #
ceiling :: Integral b => Fmpq -> b #
floor :: Integral b => Fmpq -> b #
showsPrec :: Int -> Fmpq -> ShowS #
show :: Fmpq -> String #
showList :: [Fmpq] -> ShowS #
(==) :: Fmpq -> Fmpq -> Bool #
(/=) :: Fmpq -> Fmpq -> Bool #
compare :: Fmpq -> Fmpq -> Ordering #
(<) :: Fmpq -> Fmpq -> Bool #
(<=) :: Fmpq -> Fmpq -> Bool #
(>) :: Fmpq -> Fmpq -> Bool #
(>=) :: Fmpq -> Fmpq -> Bool #
max :: Fmpq -> Fmpq -> Fmpq #
min :: Fmpq -> Fmpq -> Fmpq #
Defined in Data.Number.Flint.Fmpq.FFI
(//) :: Fmpz -> Fmpz -> Fmpq Source #
numerator :: Fmpq -> Fmpz Source #
denominator :: Fmpq -> Fmpz Source #