hmpfr-0.4.4: Haskell binding to the MPFR library

Safe HaskellNone
LanguageHaskell98

Data.Number.MPFR.FFIhelper

Documentation

data MPFR #

Constructors

MP 

Instances

Generic MPFR # 

Associated Types

type Rep MPFR :: * -> * #

Methods

from :: MPFR -> Rep MPFR x #

to :: Rep MPFR x -> MPFR #

Storable MPFR # 

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 # 

newtype Precision #

Constructors

Precision 

Fields

Instances

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

type Limb = Word64 #

type Sign = Int32 #

type Exp = Int64 #

type MpSize = Int64 #

type GmpRandState = () #

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