[Gmp-commit] /var/hg/www: Add entries for gcd return value, and _mpz_newalloc.

mercurial at gmplib.org mercurial at gmplib.org
Fri Nov 25 19:14:01 UTC 2016


details:   /var/hg/www/rev/9f5b5dc3021d
changeset: 253:9f5b5dc3021d
user:      Niels M?ller <nisse at lysator.liu.se>
date:      Fri Nov 25 20:13:48 2016 +0100
description:
Add entries for gcd return value, and _mpz_newalloc.

diffstat:

 devel/incompatibility.html |  18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

diffs (42 lines):

diff -r 57f12a96e945 -r 9f5b5dc3021d devel/incompatibility.html
--- a/devel/incompatibility.html	Wed Nov 23 02:57:01 2016 +0100
+++ b/devel/incompatibility.html	Fri Nov 25 20:13:48 2016 +0100
@@ -29,7 +29,7 @@
       </td>
       <td style="text-align:center;">
 	<span style="font-size:200%">GMP incompatible changes</span> <br>
-	<span style="font-size:75%">Last modified: 2016-11-21 </span>
+	<span style="font-size:75%">Last modified: 2016-11-25 </span>
       </td>
     </tr>
   </table>
@@ -60,6 +60,14 @@
 	<td> ✓ </td>
       </tr>
       <tr>
+	<td> Somehow extend allocation interface to support
+	  efficient _mpz_newalloc </td>
+	<td> performance; useless to have realloc copy data which will
+	not be used
+	<td> ✓ </td>
+	<td> ✓ </td>
+      </tr>
+      <tr>
 	<td> Clean up gmp_randstate_t struct from apparent mpz dependencies, unused fields </td>
 	<td> cleanness; memory use; allow randstate-based mpn functions </td>
 	<td>  </td>
@@ -72,6 +80,14 @@
 	<td>  </td>
       </tr>
       <tr>
+	<td> Add return value to mpz_gcd and mpz_gcdext, to indicate
+	  if inputs are coprime. Allow null gcd output argument. </td>
+	<td> usefulness; for usecases which don't care about the
+	  actual gcd, e.g., mpz_invert
+	<td> ✓ </td>
+	<td>  </td>
+      </tr>
+      <tr>
 	<td> Clean up *_str functions to forbid spaces  </td>
 	<td> sense </td>
 	<td> ✓ </td>


More information about the gmp-commit mailing list