Add Hackage-supported `changelog.md`
authorHerbert Valerio Riedel <hvr@gnu.org>
Sat, 1 Feb 2014 10:46:33 +0000 (11:46 +0100)
committerHerbert Valerio Riedel <hvr@gnu.org>
Sat, 1 Feb 2014 10:46:33 +0000 (11:46 +0100)
Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
changelog.md [new file with mode: 0644]
integer-gmp.cabal

diff --git a/changelog.md b/changelog.md
new file mode 100644 (file)
index 0000000..9be79f6
--- /dev/null
@@ -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
index ed1242f..2473ccb 100644 (file)
@@ -27,6 +27,7 @@ extra-source-files:
     cbits/float.c
     cbits/gmp-wrappers.cmm
     cbits/longlong.c
+    changelog.md
     config.guess
     config.sub
     configure