[Gmp-commit] /home/hgfiles/gmp-4.3: 2 new changesets

mercurial at gmplib.org mercurial at gmplib.org
Thu Nov 11 12:02:26 CET 2010


details:   /home/hgfiles/gmp-4.3/rev/73e16a6f90e3
changeset: 12551:73e16a6f90e3
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Thu Nov 11 12:01:44 2010 +0100
description:
Remove documentation for non-existing function mpn_sqr_n.

details:   /home/hgfiles/gmp-4.3/rev/23bc00ec2a06
changeset: 12552:23bc00ec2a06
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Thu Nov 11 12:02:20 2010 +0100
description:
Trivial merge.

diffstat:

 ChangeLog    |   5 +++++
 doc/gmp.texi |  13 +------------
 2 files changed, 6 insertions(+), 12 deletions(-)

diffs (49 lines):

diff -r 46c976c62453 -r 23bc00ec2a06 ChangeLog
--- a/ChangeLog	Mon Feb 08 12:25:35 2010 +0100
+++ b/ChangeLog	Thu Nov 11 12:02:20 2010 +0100
@@ -1,3 +1,8 @@
+2010-11-11  Torbjorn Granlund  <tege at gmplib.org>
+
+	* doc/gmp.texi (Low-level Functions): Remove documentation for
+	non-existing function mpn_sqr_n.
+
 2010-02-08  Marco Bodrato  <bodrato at mail.dm.unipi.it>
 
 	* mpn/x86/atom/gmp-mparam.h: New file.
diff -r 46c976c62453 -r 23bc00ec2a06 doc/gmp.texi
--- a/doc/gmp.texi	Mon Feb 08 12:25:35 2010 +0100
+++ b/doc/gmp.texi	Thu Nov 11 12:02:20 2010 +0100
@@ -1795,7 +1795,7 @@
 
 will generate better contents for the @file{gmp-mparam.h} parameter file.
 
-To use the results, put the output in the file file indicated in the
+To use the results, put the output in the file indicated in the
 @samp{Parameters for ...} header.  Then recompile from scratch.
 
 The @code{tuneup} program takes one useful parameter, @samp{-f NNN}, which
@@ -5133,8 +5133,6 @@
 The destination has to have space for 2*@var{n} limbs, even if the product's
 most significant limb is zero.  No overlap is permitted between the
 destination and either source.
-
-If the two input operands are the same, use @code{mpn_sqr_n}.
 @end deftypefun
 
 @deftypefun mp_limb_t mpn_mul (mp_limb_t *@var{rp}, const mp_limb_t *@var{s1p}, mp_size_t @var{s1n}, const mp_limb_t *@var{s2p}, mp_size_t @var{s2n})
@@ -5149,15 +5147,6 @@
 This function requires that @var{s1n} is greater than or equal to @var{s2n}.
 @end deftypefun
 
- at deftypefun void mpn_sqr_n (mp_limb_t *@var{rp}, const mp_limb_t *@var{s1p}, mp_size_t @var{n})
-Compute the square of @{@var{s1p}, @var{n}@} and write the 2*@var{n}-limb
-result to @var{rp}.
-
-The destination has to have space for 2*@var{n} limbs, even if the result's
-most significant limb is zero.  No overlap is permitted between the
-destination and the source.
- at end deftypefun
-
 @deftypefun mp_limb_t mpn_mul_1 (mp_limb_t *@var{rp}, const mp_limb_t *@var{s1p}, mp_size_t @var{n}, mp_limb_t @var{s2limb})
 Multiply @{@var{s1p}, @var{n}@} by @var{s2limb}, and write the @var{n} least
 significant limbs of the product to @var{rp}.  Return the most significant


More information about the gmp-commit mailing list