BSD-3-Clause licensed by Herbert Valerio Riedel
This version can be pinned in stack with:integer-gmp-1.0.2.0@sha256:8a8aff7dd0318a4392b5ff9149c85adb0b3ec0fce8901103ba9f692a91673f5d,1805
Module documentation for 1.0.2.0
Used by 23 packages in
lts-13.11 (full list with versions ) :
arithmoi ,
blaze-textual ,
bv ,
bv-little ,
bytestring ,
cborg ,
cryptonite ,
fast-digits ,
floatshow ,
formatting ,
ghc-typelits-extra ,
ghc-typelits-natnormalise ,
hashable ,
hgmp ,
hmpfr ,
integer-logarithms ,
long-double ,
scientific ,
semirings ,
store ,
text ,
text-format ,
text-show This package provides the low-level implementation of the standard
Integer
type based on the
GNU Multiple Precision Arithmetic Library (GMP) .
This package provides access to the internal representation of
Integer
as well as primitive operations with no proper error
handling, and should only be used directly with the utmost care.
1.0.2.0 April 2018
1.0.1.0 July 2017
1.0.0.1 Feb 2016
Bundled with GHC 8.0.1
Optimise bitBigNat
/bigInteger
Fix minor issue in eqBigNatWord#
Various minor optimisations
1.0.0.0 Mar 2015
0.5.1.0 Feb 2014
Bundled with GHC 7.8.1
Improved Haddock documentation
New PrimBool
versions of comparison predicates in GHC.Integer
:
eqInteger# :: Integer -> Integer -> Int#
geInteger# :: Integer -> Integer -> Int#
gtInteger# :: Integer -> Integer -> Int#
leInteger# :: Integer -> Integer -> Int#
ltInteger# :: Integer -> Integer -> Int#
neqInteger# :: Integer -> Integer -> Int#
New GHC.Integer.testBitInteger
primitive for use with Data.Bits
Reduce short-lived heap allocation and try to demote J#
back
to S#
more aggressively. See also
#8647
for more details.
New GMP-specific binary (de)serialization primitives added to
GHC.Integer.GMP.Internals
:
importIntegerFromByteArray
importIntegerFromAddr
exportIntegerToAddr
exportIntegerToMutableByteArray
sizeInBaseInteger
New GMP-implemented number-theoretic operations added to
GHC.Integer.GMP.Internals
:
gcdExtInteger
nextPrimeInteger
testPrimeInteger
powInteger
powModInteger
powModSecInteger
recipModInteger
Stackage is a service provided by the
Haskell Foundation
│ Originally developed by
FP Complete