[Gmp-commit] /var/hg/www: Add file to repo.

mercurial at gmplib.org mercurial at gmplib.org
Sun Nov 15 12:02:05 UTC 2020


details:   /var/hg/www/rev/61253ed54d09
changeset: 275:61253ed54d09
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Sun Nov 15 13:02:03 2020 +0100
description:
Add file to repo.

diffstat:

 gmp6.2.html |  236 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 236 insertions(+), 0 deletions(-)

diffs (240 lines):

diff -r b27c43f5aa7f -r 61253ed54d09 gmp6.2.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gmp6.2.html	Sun Nov 15 13:02:03 2020 +0100
@@ -0,0 +1,236 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+  <title>GMP 6.2 News</title>
+  <link rel="shortcut icon" href="favicon.ico">
+  <link rel="stylesheet" href="new.css">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+  <style type="text/css"> td {padding-left:4pt; padding-right:4pt;}</style>
+  <style type="text/css"> th {padding-left:4pt; padding-right:2pt;}</style>
+</head>
+
+<body>
+
+<div id="top">
+  <table style="width:100%; background-color:#b0b0b0;">
+    <tr>
+      <td align="left">
+	<svg width="180px" height="60px" version="1.1"
+	     viewBox="0 0 1500 500"
+	     xmlns="https://www.w3.org/2000/svg">
+	  <rect x="0" y="0" width="1500" height="540" fill="#b0b0b0" />
+	  <text x="0" y="440" fill="#c00000"  font-size="540" font-family="arial" font-weight="bold">
+	    GMP
+	  </text>
+	  <text x="50" y="500" font-size="70" font-family="Verdana">
+	    «Arithmetic without limitations»
+	  </text>
+	</svg>
+      </td>
+      <td align="center">
+	<font size="+2">GMP 6.2 release notes</font>
+      </td>
+    </tr>
+  </table>
+</div>
+
+<div id="container">
+<div id="top-spacer"></div>
+
+<br><br>
+
+<p>GMP 6.2 is upwardly source and binary compatible with 6.1, 6.0, 5.1, 5.0,
+4.x, and 3.x, except for applications that use the semi-documented
+<code>mpn_bdivmod</code> function.
+</p>
+
+<h2>Changes in GMP 6.2.1</h2>
+
+<p>
+  BUGS FIXED
+  <ul>
+    <li>
+      A possible overflow of type int is avoided for mpz_cmp on huge operands.
+    </li>
+    <li>
+      Overflows are more carefully detected and reported for mpz_pow_ui.
+    </li>
+    <li>
+      A bug in longlong.h for aarch64 sub_ddmmss, not affecting GMP, was healed.
+    </li>
+    <li>
+      Mini-GMP: mpz_out_str and mpq_out_str now correctly handle out
+      of range bases.
+    </li>
+  </ul>
+</p>
+<p>
+  FEATURES
+  <ul>
+    <li>
+      C90 compliance.
+    </li>
+    <li>
+      Initial support for Darwin on arm64, and improved portability.
+    </li>
+    <li>
+      Support for more processors.
+    </li>
+  </ul>
+</p>
+<p>
+  SPEEDUPS
+  <ul>
+    <li>
+      None, except indirectly through recognition of new CPUs.
+    </li>
+  </ul>
+</p>
+
+<h2>Changes between GMP version 6.1.* and 6.2.0</h2>
+
+<p>
+  BUGS FIXED
+  <ul>
+    <li>
+      gmp_snprintf now correctly reports an error (returns -1) when snprintf
+      does.
+    </li>
+    <li>
+      Conversion to double is now more robust even if the configuration process
+      does not recognize the float format.
+    </li>
+    <li>
+      mpz_powm could return a not completely normalised value, when the
+      exponent was 1 and the base < 0.
+    </li>
+    <li>
+      mpf_set_str could create invalid mpf_t variables for input strings with
+      many leading zeros.
+    </li>
+  </ul>
+</p>
+<p>
+  FEATURES
+  <ul>
+    <li>
+      New C++ functions factorial, primorial and fibonacci for mpz_class.
+    </li>
+    <li>
+      Functions to detect primality now substitute the first 24 Miller-Rabin
+      iterations with the BPSW test.
+    </li>
+    <li>
+      Mini-GMP: new functions mpz_2fac_ui and mpz_mfac_uiui.
+    </li>
+    <li>
+      Mini-GMP: mpz_sizeinbase, mpz_get_str, and mpz_set_str now support bases
+      up to 62.
+    </li>
+    <li>
+      Mini-GMP: added support for the mpq_t layer.
+    </li>
+    <li>
+      MIPS r6 cores are now supported.
+    </li>
+  </ul>
+</p>
+<p>
+  SPEEDUPS
+  <ul>
+    <li>
+      Major speedup for AMD Ryzen and Epyc thanks to an extensive set of
+      assembly code.
+    </li>
+    <li>
+      Major speedup for IBM POWER9 thanks to assembly code making use of new
+      madd instruction.
+    </li>
+    <li>
+      Speedup for 64-bit ARM CPUs thanks to new/improved assembly code.
+    </li>
+    <li>
+      The n-over-k function mpz_bin_ui has been reimplemented for great
+      speedups for large operands.
+    </li>
+    <li>
+      Speedup for the worst case of mpz_perfect_power_p.
+    </li>
+    <li>
+      Speedup for gcd for small and medium size operands.
+    </li>
+    <li>
+      Speedup for really huge multiplies thanks to much larger FFT tables.
+    </li>
+  </ul>
+</p>
+<p>
+  MISC
+  <ul>
+    <li>
+      Internal representation of the mpz_t variables now supports lazy
+      allocation; memory is allocated only when a value is stored.
+    </li>
+    <li>
+      Small improvements and better coverage for the test suite.
+    </li>
+    <li>
+      The tune/speed program can measure some more functions.
+    </li>
+    <li>
+      The low-level function mpn_mul no longer diverts to mpn_sqr, users should
+      call mpn_sqr directly when applicable.
+    </li>
+    <li>
+      New installed files gmp.pc and gmpxx.pc, for use with pkg-config.
+      Contributed by Hugh McMaster.
+    </li>
+  </ul>
+</p>
+
+
+<br>
+<p>This release would not have been possible without the continuous work of
+improvement, revision and refinement by the whole GMP team: Torbjörn
+Granlund, Niels Möller, Marco Bodrato, and Marc Glisse.
+Please see the <a href="manual/Contributors#Contributors">GMP
+manual</a> for a complete list of GMP contributors.
+</p>
+<p> There is a public repository for GMP, please see
+<a href="devel/repo-usage">the GMP repository usage instructions</a> for
+more information.
+</p>
+
+<div id="footer-spacer"></div>
+
+</div>
+
+<div id="footer">
+<table style="width:100%; background-color:#b0b0b0;">
+  <tr>
+    <td style="text-align:center;">
+      <div style="font-size:80%">
+	Please send comments about this page to gmp-discuss<div style="display:inline;"> at </div>gmplib.org
+      </div>
+    </td>
+  </tr>
+  <tr>
+    <td style="text-align:center;">
+      <div style="font-size:80%;">
+	Copyright 2015–2020 Free Software Foundation
+      </div>
+    </td>
+  </tr>
+  <tr>
+    <td style="text-align:center;">
+      <div style="font-size:80%;">
+	Verbatim copying and distribution of this entire article is permitted
+	in any medium, provided this notice is preserved.
+      </div>
+    </td>
+  </tr>
+</table>
+</div>
+
+</body>
+</html>



More information about the gmp-commit mailing list