hgmp-0.1.1: Haskell interface to GMP

Safe HaskellNone
LanguageHaskell2010

Numeric.GMP.Raw.Unsafe

Contents

Description

Raw GMP foreign bindings, imported unsafe.

Synopsis

Types for Documentation

Integer Functions

Initialization Functions

Assignment Functions

Combined Initialization and Assignment Functions

Conversion Functions

Arithmetic Functions

Division Functions

Exponentiation Functions

Root Extraction Functions

Number Theoretic Functions

Comparison Functions

Logical and Bit Manipulation Functions

Input and Output Functions

Random Number Functions

Integer Import and Export

mpz_import :: Ptr MPZ -> CSize -> CInt -> CSize -> CInt -> CSize -> Ptr a -> IO () Source #

mpz_export :: Ptr a -> Ptr CSize -> CInt -> CSize -> CInt -> CSize -> SrcPtr MPZ -> IO () Source #

Miscellaneous Functions

Special Functions

Rational Number Functions

Initialization and Assignment Functions

Conversion Functions

Arithmetic Functions

Comparison Functions

Applying Integer Functions to Rationals

Input and Output Functions

Floating-point Functions

Initialization Functions

Assignment Functions

Combined Initialization and Assignment Functions

Conversion Functions

Arithmetic Functions

Comparison Functions

Input and Output Functions

Miscellaneous Functions

Random Number Functions

Random State Initialization

Random State Seeding

Random State Miscellaneous

Low-level Functions