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

Data.Number.Flint.Flint.External

Synopsis

Documentation

data Mp Source #

Data structure containing the CMp pointer

Constructors

CMp !(ForeignPtr CMp) 

data Mpz Source #

Data structure containing the CMpz pointer

Constructors

CMpz !(ForeignPtr CMpz) 

data Mpq Source #

Data structure containing the CMpq pointer

Constructors

CMpq !(ForeignPtr CMpq) 

data Mpf Source #

Data structure containing the CMpf pointer

Constructors

CMpf !(ForeignPtr CMpf) 

Instances

Instances details
Storable CMpf Source # 
Instance details

Defined in Data.Number.Flint.Flint.External.GMP.FFI

Methods

sizeOf :: CMpf -> Int #

alignment :: CMpf -> Int #

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

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

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

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

peek :: Ptr CMpf -> IO CMpf #

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

data GmpRandstate Source #

Data structure containing the CGmpRandstate pointer

data Mpfr Source #

Data structure containing the CMpfr pointer

Constructors

CMpfr !(ForeignPtr CMpfr) 

Instances

Instances details
Storable CMpfr Source # 
Instance details

Defined in Data.Number.Flint.Flint.External.Mpfr.FFI

Methods

sizeOf :: CMpfr -> Int #

alignment :: CMpfr -> Int #

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

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

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

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

peek :: Ptr CMpfr -> IO CMpfr #

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

newtype CMpfrRnd Source #

Constructors

CMpfrRnd 

Fields

Instances

Instances details
Show CMpfrRnd Source # 
Instance details

Defined in Data.Number.Flint.Flint.External.Mpfr.FFI

Eq CMpfrRnd Source # 
Instance details

Defined in Data.Number.Flint.Flint.External.Mpfr.FFI

newtype CMpfrPrec Source #

Constructors

CMpfrPrec 

Fields

Instances

Instances details
Show CMpfrPrec Source # 
Instance details

Defined in Data.Number.Flint.Flint.External.Mpfr.FFI

Eq CMpfrPrec Source # 
Instance details

Defined in Data.Number.Flint.Flint.External.Mpfr.FFI