hmpfr-0.4.4: Haskell binding to the MPFR library

Safe HaskellNone
LanguageHaskell98

Data.Number.MPFR.FFIhelper

Documentation

data MPFR Source #

Constructors

MP 

Instances

Generic MPFR Source # 

Associated Types

type Rep MPFR :: * -> * #

Methods

from :: MPFR -> Rep MPFR x #

to :: Rep MPFR x -> MPFR #

Storable MPFR Source # 

Methods

sizeOf :: MPFR -> Int #

alignment :: MPFR -> Int #

peekElemOff :: Ptr MPFR -> Int -> IO MPFR #

pokeElemOff :: Ptr MPFR -> Int -> MPFR -> IO () #

peekByteOff :: Ptr b -> Int -> IO MPFR #

pokeByteOff :: Ptr b -> Int -> MPFR -> IO () #

peek :: Ptr MPFR -> IO MPFR #

poke :: Ptr MPFR -> MPFR -> IO () #

type Rep MPFR Source # 
type Rep MPFR = D1 * (MetaData "MPFR" "Data.Number.MPFR.FFIhelper" "hmpfr-0.4.4-CVSKNSw033MEWP1hktuXpF" False) (C1 * (MetaCons "MP" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "precision") SourceUnpack SourceStrict DecidedStrict) (Rec0 * CPrecision)) (S1 * (MetaSel (Just Symbol "sign") SourceUnpack SourceStrict DecidedStrict) (Rec0 * Sign))) ((:*:) * (S1 * (MetaSel (Just Symbol "exponent") SourceUnpack SourceStrict DecidedStrict) (Rec0 * Exp)) (S1 * (MetaSel (Just Symbol "limbs") SourceUnpack SourceStrict DecidedStrict) (Rec0 * (ForeignPtr Limb))))))

newtype Precision Source #

Constructors

Precision 

Fields

Instances

Enum Precision Source # 
Eq Precision Source # 
Integral Precision Source # 
Num Precision Source # 
Ord Precision Source # 
Real Precision Source # 
Show Precision Source # 

type Exp = Int64 Source #