summaryrefslogtreecommitdiff
path: root/libraries/integer-gmp
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2014-02-01 11:46:33 +0100
committerHerbert Valerio Riedel <hvr@gnu.org>2014-02-01 11:46:33 +0100
commitb6253fae511909a6e1e6379c44b14de86270a4b6 (patch)
tree5f6d69308f70ea1175755de40d57fd626f89b570 /libraries/integer-gmp
parent6c8cc4faff635d88ed8ec8cd5f92f18854397608 (diff)
downloadhaskell-b6253fae511909a6e1e6379c44b14de86270a4b6.tar.gz
Add Hackage-supported `changelog.md`
Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Diffstat (limited to 'libraries/integer-gmp')
-rw-r--r--libraries/integer-gmp/changelog.md44
-rw-r--r--libraries/integer-gmp/integer-gmp.cabal1
2 files changed, 45 insertions, 0 deletions
diff --git a/libraries/integer-gmp/changelog.md b/libraries/integer-gmp/changelog.md
new file mode 100644
index 0000000000..9be79f6fd9
--- /dev/null
+++ b/libraries/integer-gmp/changelog.md
@@ -0,0 +1,44 @@
+# Changelog for [`integer-gmp` package](http://hackage.haskell.org/package/integer-gmp)
+
+## 0.5.1.0 *Feb 2014*
+
+ * Bundled with GHC 7.8.1
+
+ * Improved Haddock documentation
+
+ * New [PrimBool](https://ghc.haskell.org/trac/ghc/wiki/PrimBool)
+ versions of comparision 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](https://ghc.haskell.org/trac/ghc/ticket/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
diff --git a/libraries/integer-gmp/integer-gmp.cabal b/libraries/integer-gmp/integer-gmp.cabal
index ed1242f119..2473ccb0e1 100644
--- a/libraries/integer-gmp/integer-gmp.cabal
+++ b/libraries/integer-gmp/integer-gmp.cabal
@@ -27,6 +27,7 @@ extra-source-files:
cbits/float.c
cbits/gmp-wrappers.cmm
cbits/longlong.c
+ changelog.md
config.guess
config.sub
configure