[Gmp-commit] /var/hg/gmp: Fix typos.

mercurial at gmplib.org mercurial at gmplib.org
Mon Jul 22 00:39:48 CEST 2013


details:   /var/hg/gmp/rev/89a5c76228fd
changeset: 15877:89a5c76228fd
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Mon Jul 22 00:39:44 2013 +0200
description:
Fix typos.

diffstat:

 ChangeLog                             |  34 +++++++++++++++++-----------------
 acinclude.m4                          |   2 +-
 doc/configuration                     |   2 +-
 doc/gmp.texi                          |   4 ++--
 doc/projects.html                     |   8 ++++----
 doc/tasks.html                        |   4 ++--
 mini-gmp/mini-gmp.c                   |   6 +++---
 mpn/cray/README                       |   2 +-
 mpn/generic/broot.c                   |   2 +-
 mpn/generic/divis.c                   |   6 +++---
 mpn/generic/gcdext_1.c                |   2 +-
 mpn/generic/hgcd.c                    |   2 +-
 mpn/generic/hgcd_appr.c               |  17 ++++++++---------
 mpn/generic/hgcd_jacobi.c             |   2 +-
 mpn/generic/hgcd_step.c               |   2 +-
 mpn/generic/invertappr.c              |   2 +-
 mpn/generic/mod_1.c                   |   2 +-
 mpn/generic/sbpi1_div_sec.c           |   4 ++--
 mpn/generic/toom42_mulmid.c           |   2 +-
 mpn/generic/toom_interpolate_12pts.c  |   2 +-
 mpn/generic/toom_interpolate_16pts.c  |   2 +-
 mpn/generic/toom_interpolate_5pts.c   |   2 +-
 mpn/ia64/ia64-defs.m4                 |   2 +-
 mpn/mips64/README                     |   2 +-
 mpn/powerpc64/README                  |   2 +-
 mpn/powerpc64/mode64/p6/aorsmul_1.asm |   2 +-
 mpn/s390_32/esame/addmul_1.asm        |   2 +-
 mpn/vax/gmp-mparam.h                  |   2 +-
 mpn/x86/fat/fat.c                     |   8 ++++----
 mpn/x86/k7/mmx/divrem_1.asm           |   2 +-
 mpn/x86/pentium4/sse2/popcount.asm    |   2 +-
 mpn/x86_64/aors_err1_n.asm            |   2 +-
 mpn/x86_64/missing-call.m4            |   2 +-
 mpn/x86_64/missing-inline.m4          |   2 +-
 mpn/x86_64/missing.asm                |   3 ++-
 mpn/x86_64/mullo_basecase.asm         |   2 +-
 mpn/x86_64/mulx/adx/addmul_1.asm      |   2 +-
 mpz/2fac_ui.c                         |   2 +-
 mpz/bin_uiui.c                        |   2 +-
 mpz/prodlimbs.c                       |   2 +-
 mpz/set_f.c                           |   2 +-
 printf/doprnt.c                       |   2 +-
 tests/mpf/t-eq.c                      |   2 +-
 tests/mpf/t-sub.c                     |   2 +-
 tests/mpq/t-cmp.c                     |   2 +-
 tests/mpq/t-cmp_ui.c                  |   2 +-
 tests/mpz/t-jac.c                     |   4 ++--
 tests/spinner.c                       |   2 +-
 tune/README                           |   2 +-
 tune/common.c                         |   2 +-
 tune/powerpc.asm                      |   2 +-
 tune/powerpc64.asm                    |   2 +-
 tune/speed.h                          |   2 +-
 tune/time.c                           |   2 +-
 tune/tuneup.c                         |   2 +-
 55 files changed, 93 insertions(+), 93 deletions(-)

diffs (truncated from 892 to 300 lines):

diff -r 685cb898e4d9 -r 89a5c76228fd ChangeLog
--- a/ChangeLog	Wed Jul 17 20:22:04 2013 +0200
+++ b/ChangeLog	Mon Jul 22 00:39:44 2013 +0200
@@ -1286,7 +1286,7 @@
 
 2013-01-10  Torbjorn Granlund  <tege at gmplib.org>
 
-	* mini-gmp/tests/t-import.c (main): Don't drop off functon end.
+	* mini-gmp/tests/t-import.c (main): Don't drop off function end.
 
 	* Makefile.am (check-mini-gmp): Set LD_LIBRARY_PATH to allow testing
 	with dynamic main GMP build.
@@ -1314,7 +1314,7 @@
 
 	* mini-gmp/README: Document base limitation for conversions.
 	* mini-gmp/mini-gmp.c (mpz_set_str): Remove goto.
-	(mpz_import, mpz_export): Correctly use order/endianess.
+	(mpz_import, mpz_export): Correctly use order/endianness.
 
 2013-01-05  Torbjorn Granlund  <tege at gmplib.org>
 
@@ -2294,7 +2294,7 @@
 
 2012-04-02 Marco Bodrato <bodrato at mail.dm.unipi.it>
 
-	* mpz/oddfac_1.c: Initalize size for ASSERT.
+	* mpz/oddfac_1.c: Initialize size for ASSERT.
 
 2012-04-02  Torbjorn Granlund  <tege at gmplib.org>
 
@@ -2827,7 +2827,7 @@
 
 2012-02-10  Niels Möller  <nisse at lysator.liu.se>
 
-	* tests/mpz/t-gcd.c (gcdext_valid_p): Enforce sligthly stricter
+	* tests/mpz/t-gcd.c (gcdext_valid_p): Enforce slightly stricter
 	bound for cofactors.
 
 	* mpn/generic/gcdext_lehmer.c (mpn_gcdext_hook): Corrected
@@ -3987,7 +3987,7 @@
 
 2011-05-23  Niels Möller  <nisse at lysator.liu.se>
 
-	* mpz/jacobi.c (mpz_jacobi): Simplied by swapping operands when
+	* mpz/jacobi.c (mpz_jacobi): Simplified by swapping operands when
 	needed, to get asize >= bsize. Use the reciprocity law generalized
 	to work when one operand is even.
 
@@ -4615,7 +4615,7 @@
 
 	* tune/tuneup.c (tune_mod_1): Record result of MOD_1_1P_METHOD
 	measurement for use by mpn_mod_1_tune. And omit measurement if
-	mpn_mod_1_1p is native assebly code.
+	mpn_mod_1_1p is native assembly code.
 
 	* mpn/generic/mod_1.c (mpn_mod_1_1p) [TUNE_PROGRAM_BUILD]: Macro
 	to check mod_1_1p_method and call the right function.
@@ -5658,7 +5658,7 @@
 	* configure.in (powerpc64): Support CPU specific mode-less subdirs.
 
 	* mpn/powerpc64/aix.m4 (PROLOGUE_cpu): Use "named csect" making
-	requested aignment actually honoured.
+	requested alignment actually honoured.
 
 2010-04-30  Niels Möller  <nisse at lysator.liu.se>
 
@@ -12883,7 +12883,7 @@
 	numbers.
 	(hgcd_tdiv): New function.
 	(gcd_lehmer): New function, currently #if:ed out.
-	(hgcd_start_row_p): New function, duplicatd from hgcd.c.
+	(hgcd_start_row_p): New function, duplicated from hgcd.c.
 	(gcd_schoenhage_itch): New function.
 	(gcd_schoenhage): New function.
 	(mpn_gcd): New advertised gcd function, which calls
@@ -13756,7 +13756,7 @@
 
 2003-09-24  Torbjorn Granlund  <tege at swox.com>
 
-	* tune/speed.c (routine): Add entires for mpn_addlsh1_n, mpn_sublsh1_n,
+	* tune/speed.c (routine): Add entries for mpn_addlsh1_n, mpn_sublsh1_n,
 	mpn_rsh1add_n, and mpn_rsh1sub_n.
 
 	* tune/speed.h: Declare speed_mpn_addlsh1_n, speed_mpn_sublsh1_n,
@@ -13850,7 +13850,7 @@
 	mpn_addlsh1_n.  Avoid all copying, at the expense of some additional
 	workspace.
 
-	* gmp-impl.h (MPN_TOOM3_MUL_N_TSIZE, MPN_TOOM3_SQR_N_TSIZE): Accomodate
+	* gmp-impl.h (MPN_TOOM3_MUL_N_TSIZE, MPN_TOOM3_SQR_N_TSIZE): Accommodate
 	latest toom3 code.
 
 2003-09-19  Kevin Ryde  <kevin at swox.se>
@@ -14715,7 +14715,7 @@
 	* mpz/get_str.c: Likewise.
 	* mpf/get_str.c: Likewise.
 
-	* mpz/inp_str.c: Restucture to allocate more string space just
+	* mpz/inp_str.c: Restructure to allocate more string space just
 	before needed.
 	* mpbsd/min.c: Likewise.
 
@@ -17035,7 +17035,7 @@
 	* mpf/fits_u.h: Rewrite - nailify.
 	* mpf/fits_s.h: Likewise.
 
-	* mpz/mod.c: Disambiguate if-statament with extra {}.
+	* mpz/mod.c: Disambiguate if-statement with extra {}.
 
 	* mpf/int_p.c: Fix type of size variables.
 	* mpf/get_ui: Likewise.
@@ -18193,7 +18193,7 @@
 
 	* mpn/mp_bases.c: Add entries for base 256.  Remove __ prefix from
 	table name.
-	* gmp-impl.h (__mp_bases): Remove superflous `mp_' part of name, making
+	* gmp-impl.h (__mp_bases): Remove superfluous mp_ part of name, making
 	it __gmpn_bases instead of __gmpn_mp_bases.
 	(mp_bases): New #define.
 	* tune/speed.h (SPEED_ROUTINE_MPN_SET_STR): Allow bases up to 256.
@@ -25273,7 +25273,7 @@
 
 2000-04-16  Torbjorn Granlund  <tege at swox.com>
 
-	* mpn/generic/dump.c: Suppress output of leadign zeros.
+	* mpn/generic/dump.c: Suppress output of leading zeros.
 
 	* mpz/inp_str.c: Fix memory leakage.
 
@@ -26180,7 +26180,7 @@
 	tests/rand/Makefile.
 
 	* acinclude.m4 (AC_CANONICAL_BUILD): Define to
-	`_AC_CANONICAL_BUILD' to deal with incompabilities between
+	`_AC_CANONICAL_BUILD' to deal with incompatibilities between
 	Autoconf and Libtool.
 	(AC_CHECK_TOOL_PREFIX): Likewise.
 
@@ -27027,7 +27027,7 @@
 	appropriate.
 	(athlon-*-*): Fix typo.
 
-	* config.guess: Update x86 recog code to intiallly match
+	* config.guess: Update x86 recog code to initially match
 	more than just i386.
 	Call K6-2 and K6-III for "k62" and "k63" respectively.
 
@@ -27981,7 +27981,7 @@
 Mon Jan 26 01:39:02 1998  Torbjorn Granlund  <tege at tunnis.tmg.se>
 
 	* mpz/pprime_p.c (mpz_probab_prime_p): Major overhaul: Check small
-	numers specifically; check small factors, then perform a fermat test.
+	numbers specifically; check small factors, then perform a fermat test.
 
 Tue Jan 13 14:58:28 1998  Torbjorn Granlund  <tege at tunnis.tmg.se>
 
diff -r 685cb898e4d9 -r 89a5c76228fd acinclude.m4
--- a/acinclude.m4	Wed Jul 17 20:22:04 2013 +0200
+++ b/acinclude.m4	Mon Jul 22 00:39:44 2013 +0200
@@ -1831,7 +1831,7 @@
 	.byte   0
       	.align  4, 0x90],
 [if grep "Warning: Fill parameter ignored for executable section" conftest.out >/dev/null; then
-  echo "Supressing this warning by omitting 0x90" 1>&AC_FD_CC
+  echo "Suppressing this warning by omitting 0x90" 1>&AC_FD_CC
   gmp_cv_asm_align_fill_0x90=no
 else
   gmp_cv_asm_align_fill_0x90=yes
diff -r 685cb898e4d9 -r 89a5c76228fd doc/configuration
--- a/doc/configuration	Wed Jul 17 20:22:04 2013 +0200
+++ b/doc/configuration	Mon Jul 22 00:39:44 2013 +0200
@@ -46,7 +46,7 @@
 
 The way we build libmpn (in the `mpn' subdirectory) is quite special.
 
-Currently only mpn/mp_bases.c is truely generic and included in every
+Currently only mpn/mp_bases.c is truly generic and included in every
 configuration.  All other files are linked at build time into the mpn
 build directory from one of the CPU specific sub-directories, or from
 the mpn/generic directory.
diff -r 685cb898e4d9 -r 89a5c76228fd doc/gmp.texi
--- a/doc/gmp.texi	Wed Jul 17 20:22:04 2013 +0200
+++ b/doc/gmp.texi	Mon Jul 22 00:39:44 2013 +0200
@@ -8017,10 +8017,10 @@
 
 Toom'n'half means that the existence of one more piece is considered for a
 single operand. It can be virtual, i.e. zero, or real, when the two operand
-are not exactly balanced. By chosing an even @math{r},
+are not exactly balanced. By choosing an even @math{r},
 Toom- at m{r{1\over2},r+1/2} requires @math{2r} points, a multiple of four.
 
-The four-plets of points inlcude 0, @m{\infty,inf}, +1, -1 and
+The four-plets of points include 0, @m{\infty,inf}, +1, -1 and
 @m{\pm2^i,+-2^i}, @m{\pm2^{-i},+-2^-i} . Each of them giving shortcuts for the
 evaluation phase and for some steps in the interpolation phase. Further tricks
 are used to reduce the memory footprint of the whole multiplication algorithm
diff -r 685cb898e4d9 -r 89a5c76228fd doc/projects.html
--- a/doc/projects.html	Wed Jul 17 20:22:04 2013 +0200
+++ b/doc/projects.html	Mon Jul 22 00:39:44 2013 +0200
@@ -37,7 +37,7 @@
 
 <hr>
 <!-- NB. timestamp updated automatically by emacs -->
-  This file current as of 5 Dec 2011.  An up-to-date version is available at
+  This file current as of 21 Jul 2013.  An up-to-date version is available at
   <a href="http://gmplib.org/projects.html">http://gmplib.org/projects.html</a>.
   Please send comments about this page to gmp-devel<font>@</font>gmplib.org.
 
@@ -151,7 +151,7 @@
 
   <p> Add more functions to the set of fat functions.
 
-  <p> The speed of multipliciaton is today highly dependent on combination
+  <p> The speed of multiplication is today highly dependent on combination
   functions like <code>addlsh1_n</code>.  A fat binary will never use any such
   functions, since they are classified as optional.  Ideally, we should use
   them, but making the current compile-time selections of optional functions
@@ -323,12 +323,12 @@
 
 <li> <strong>Factorial</strong>
 
-  <p> Rewrite for simplicty and speed.  Work is in progress.
+  <p> Rewrite for simplicity and speed.  Work is in progress.
 
 
 <li> <strong>Binomial Coefficients</strong>
 
-  <p> Rewrite for simplicty and speed.  Work is in progress.
+  <p> Rewrite for simplicity and speed.  Work is in progress.
 
 
 <li> <strong>Prime Testing</strong>
diff -r 685cb898e4d9 -r 89a5c76228fd doc/tasks.html
--- a/doc/tasks.html	Wed Jul 17 20:22:04 2013 +0200
+++ b/doc/tasks.html	Mon Jul 22 00:39:44 2013 +0200
@@ -37,7 +37,7 @@
 
 <hr>
 <!-- NB. timestamp updated automatically by emacs -->
-  This file current as of 5 Dec 2011.  An up-to-date version is available at
+  This file current as of 21 Jul 2013.  An up-to-date version is available at
   <a href="http://gmplib.org/tasks.html">http://gmplib.org/tasks.html</a>.
   Please send comments about this page to gmp-devel<font>@</font>gmplib.org.
 
@@ -704,7 +704,7 @@
      Consider making these variant <code>mpz_set_str</code> etc forms
      available for <code>mpz_t</code> too, not just <code>mpz_class</code>
      etc.
-<li> <code>mpq_class operator+=</code>: Don't emit an unnecssary
+<li> <code>mpq_class operator+=</code>: Don't emit an unnecessary
      <code>mpq_set(q,q)</code> before <code>mpz_addmul</code> etc.
 <li> Put various bits of gmpxx.h into libgmpxx, to avoid excessive inlining.
      Candidates for this would be,
diff -r 685cb898e4d9 -r 89a5c76228fd mini-gmp/mini-gmp.c
--- a/mini-gmp/mini-gmp.c	Wed Jul 17 20:22:04 2013 +0200
+++ b/mini-gmp/mini-gmp.c	Mon Jul 22 00:39:44 2013 +0200
@@ -1348,7 +1348,7 @@
 }
 
 /* The utility of this function is a bit limited, since many functions
-   assings the result variable using mpz_swap. */
+   assigns the result variable using mpz_swap. */
 void
 mpz_init2 (mpz_t r, mp_bitcnt_t bits)
 {
@@ -3002,7 +3002,7 @@
   if (e->_mp_size < 0)
     {
       if (!mpz_invert (base, b, m))
-	gmp_die ("mpz_powm: Negative exponent and non-invertibe base.");
+	gmp_die ("mpz_powm: Negative exponent and non-invertible base.");
     }
   else
     {
@@ -3200,7 +3200,7 @@
 
 /* Numbers are treated as if represented in two's complement (and
    infinitely sign extended). For a negative values we get the two's
-   complement from -x = ~x + 1, where ~ is bitwise complementt.
+   complement from -x = ~x + 1, where ~ is bitwise complement.
    Negation transforms
 
      xxxx10...0
diff -r 685cb898e4d9 -r 89a5c76228fd mpn/cray/README
--- a/mpn/cray/README	Wed Jul 17 20:22:04 2013 +0200
+++ b/mpn/cray/README	Mon Jul 22 00:39:44 2013 +0200
@@ -107,4 +107,4 @@
 storing even fewer bits per limb, perhaps 56, it would be possible to
 write a mul_mul_basecase that would run at effectively 1 cycle/limb.
 (Use VM here to better handle the romb-shaped multiply area, perhaps
-rouding operand sizes up to the next power of 2.)
+rounding operand sizes up to the next power of 2.)
diff -r 685cb898e4d9 -r 89a5c76228fd mpn/generic/broot.c
--- a/mpn/generic/broot.c	Wed Jul 17 20:22:04 2013 +0200
+++ b/mpn/generic/broot.c	Mon Jul 22 00:39:44 2013 +0200
@@ -59,7 +59,7 @@
 
      r' = r - (a^{k-1} r^{k+1} - r) / k
 
-   where we still have cancelation of low limbs.


More information about the gmp-commit mailing list