BSD-3-Clause licensed by Herbert Valerio Riedel
This version can be pinned in stack with:integer-gmp-1.0.0.0@sha256:df9072226702cd8ab52e7c81179561e7a40f0e1794f4a5915f83c44240dcfd57,1391
Module documentation for 1.0.0.0
Used by 16 packages in
lts-6.10(full list with versions):
arithmoi,
blaze-textual,
bytestring,
clash-lib,
clash-prelude,
cryptonite,
crypto-numbers,
double-conversion,
exact-real,
ghc-typelits-extra,
ghc-typelits-natnormalise,
hashable,
scientific,
text,
text-format,
text-show
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