gmpint-0.1.1.1: GMP integer conversions

CopyrightCopyright (c) 2018 Vanessa McHale
Safe HaskellSafe
LanguageHaskell2010

Data.GMP

Description

This module defines a storable instance for GMP's mpz integer type.

Synopsis

Documentation

data GMPInt Source #

The GMP integer type holds information about array size as well as a pointer to an array.

Constructors

GMPInt 

Fields

Instances
Storable GMPInt Source # 
Instance details

Defined in Data.GMP

gmpToInteger :: GMPInt -> IO Integer Source #

Convert a GMP mpz to Haskell's Integer type.