summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2002-05-14 18:59:44 +0200
committertege <tege@gmplib.org>2002-05-14 18:59:44 +0200
commitd024a305ef7bae0e84fbae558381589ab8006b34 (patch)
tree14ba68798bae6dfc1204c98eec4a9843a8c9c725
parent8ff1ddeac009c1e5a290c78d384f54547d57e529 (diff)
downloadgmp-d024a305ef7bae0e84fbae558381589ab8006b34.tar.gz
Add a copyright year.
-rw-r--r--NEWS3
-rw-r--r--acconfig.h2
-rw-r--r--demos/expr/Makefile.am2
-rw-r--r--demos/factorize.c30
-rw-r--r--doc/projects.html4
-rw-r--r--extract-dbl.c2
-rw-r--r--mpf/cmp_si.c3
-rw-r--r--mpf/cmp_ui.c2
-rw-r--r--mpf/div.c2
-rw-r--r--mpf/div_2exp.c2
-rw-r--r--mpf/div_ui.c2
-rw-r--r--mpf/eq.c2
-rw-r--r--mpf/get_d.c2
-rw-r--r--mpf/get_d_2exp.c2
-rw-r--r--mpf/get_si.c2
-rw-r--r--mpf/get_ui.c2
-rw-r--r--mpf/int_p.c2
-rw-r--r--mpf/mul_2exp.c2
-rw-r--r--mpf/random2.c2
-rw-r--r--mpf/set_q.c2
-rw-r--r--mpf/set_si.c2
-rw-r--r--mpf/set_str.c4
-rw-r--r--mpf/set_ui.c2
-rw-r--r--mpf/sub.c4
-rw-r--r--mpf/ui_div.c3
-rw-r--r--mpf/ui_sub.c2
-rw-r--r--mpf/urandomb.c2
-rw-r--r--mpn/alpha/README2
-rw-r--r--mpn/generic/diveby3.c2
-rw-r--r--mpn/generic/divrem.c2
-rw-r--r--mpn/generic/gcd.c4
-rw-r--r--mpn/generic/gcdext.c2
-rw-r--r--mpn/generic/random.c2
-rw-r--r--mpn/generic/random2.c2
-rw-r--r--mpn/ia64/README2
-rw-r--r--mpn/pa64/umul_ppmm.asm2
-rw-r--r--mpn/sparc64/README2
-rw-r--r--mpn/x86/gmp-mparam.h2
-rw-r--r--mpq/cmp.c2
-rw-r--r--mpq/cmp_ui.c2
-rw-r--r--mpq/equal.c2
-rw-r--r--mpq/get_d.c2
-rw-r--r--mpq/get_str.c2
-rw-r--r--mpq/md_2exp.c2
-rw-r--r--mpq/set_f.c2
-rw-r--r--mpz/aors_ui.h4
-rw-r--r--mpz/aorsmul_i.c2
-rw-r--r--mpz/bin_ui.c2
-rw-r--r--mpz/bin_uiui.c2
-rw-r--r--mpz/cdiv_q_ui.c2
-rw-r--r--mpz/cdiv_qr_ui.c2
-rw-r--r--mpz/cdiv_r_ui.c2
-rw-r--r--mpz/cdiv_ui.c2
-rw-r--r--mpz/cmp_d.c2
-rw-r--r--mpz/cmp_si.c4
-rw-r--r--mpz/cmp_ui.c3
-rw-r--r--mpz/cmpabs_d.c2
-rw-r--r--mpz/cmpabs_ui.c4
-rw-r--r--mpz/divis.c2
-rw-r--r--mpz/fac_ui.c3
-rw-r--r--mpz/fdiv_q_ui.c2
-rw-r--r--mpz/fdiv_qr_ui.c2
-rw-r--r--mpz/fdiv_r_ui.c2
-rw-r--r--mpz/fdiv_ui.c2
-rw-r--r--mpz/fits_s.h2
-rw-r--r--mpz/gcd.c3
-rw-r--r--mpz/get_d.c2
-rw-r--r--mpz/get_si.c3
-rw-r--r--mpz/jacobi.c2
-rw-r--r--mpz/mod.c3
-rw-r--r--mpz/powm_ui.c4
-rw-r--r--mpz/rrandomb.c2
-rw-r--r--mpz/tdiv_q_ui.c3
-rw-r--r--mpz/tdiv_qr_ui.c3
-rw-r--r--mpz/tdiv_r_ui.c3
-rw-r--r--mpz/tdiv_ui.c4
-rw-r--r--mpz/ui_pow_ui.c2
-rw-r--r--randraw.c2
-rw-r--r--tests/Makefile.am2
-rw-r--r--tests/memory.c2
-rw-r--r--tests/misc/t-scanf.c2
-rw-r--r--tests/mpf/t-trunc.c2
-rw-r--r--tests/mpq/t-get_d.c3
-rw-r--r--tests/mpz/bit.c2
-rw-r--r--tests/mpz/convert.c3
-rw-r--r--tests/mpz/t-aorsmul.c2
-rw-r--r--tests/mpz/t-gcd.c4
-rw-r--r--tests/mpz/t-mul.c4
-rw-r--r--tests/mpz/t-powm_ui.c3
-rw-r--r--tests/mpz/t-scan.c2
-rw-r--r--tests/mpz/t-sizeinbase.c2
-rw-r--r--tests/mpz/t-sqrtrem.c3
-rw-r--r--tune/modlinv.c2
93 files changed, 133 insertions, 118 deletions
diff --git a/NEWS b/NEWS
index f1d6209f0..75d61c323 100644
--- a/NEWS
+++ b/NEWS
@@ -21,6 +21,8 @@ the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
Changes between MP version 4.0.1 and 4.1
* Bug fixes.
+* Speed improvements.
+* Upwardly binary compatible with 4.0, 4.0.1, and 3.x versions.
* Asymptotically fast conversion to/from strings (mpz, mpq, mpn levels), but
also major speed improvements for tiny operands.
* mpn_get_str parameter restrictions relaxed.
@@ -30,6 +32,7 @@ Changes between MP version 4.0.1 and 4.1
* Extended test suite.
* mpfr is back, with many bug fixes and portability improvements.
* New function: mpz_ui_sub.
+* New functions: mpz_export, mpz_import.
* Optimization for nth root functions (mpz_root, mpz_perfect_power_p).
* Optimization for extended gcd (mpz_gcdext, mpz_invert, mpn_gcdext).
* Generalized low-level number format, reserving a `nails' part of each
diff --git a/acconfig.h b/acconfig.h
index 9239f6837..7c7c90287 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -1,6 +1,6 @@
/* Templates for defines setup by configure.
-Copyright 2000, 2001 Free Software Foundation, Inc.
+Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/demos/expr/Makefile.am b/demos/expr/Makefile.am
index 15b84cd2e..266775157 100644
--- a/demos/expr/Makefile.am
+++ b/demos/expr/Makefile.am
@@ -1,6 +1,6 @@
## Process this file with automake to generate Makefile.in
-# Copyright 2001 Free Software Foundation, Inc.
+# Copyright 2001, 2002 Free Software Foundation, Inc.
#
# This file is part of the GNU MP Library.
#
diff --git a/demos/factorize.c b/demos/factorize.c
index 467f13c87..fcee6d1ab 100644
--- a/demos/factorize.c
+++ b/demos/factorize.c
@@ -1,21 +1,19 @@
/* Factoring with Pollard's rho method.
- Copyright 1995, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
-
- This program is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation; either version 2, or (at your option) any
- later version.
-
- This program is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License along
- with this program; see the file COPYING. If not, write to the Free
- Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- 02111-1307, USA. */
+Copyright 1995, 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation,
+Inc.
+
+This program is free software; you can redistribute it and/or modify it under
+the terms of the GNU General Public License as published by the Free Software
+Foundation; either version 2, or (at your option) any later version.
+
+This program is distributed in the hope that it will be useful, but WITHOUT ANY
+WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License along with
+this program; see the file COPYING. If not, write to the Free Software
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include <stdlib.h>
#include <stdio.h>
diff --git a/doc/projects.html b/doc/projects.html
index cc903b677..989d0bcc1 100644
--- a/doc/projects.html
+++ b/doc/projects.html
@@ -14,7 +14,7 @@
</center>
<font size=-1>
-Copyright 2000, 2001 Free Software Foundation, Inc. <br><br>
+Copyright 2000, 2001, 2002 Free Software Foundation, Inc. <br><br>
This file is part of the GNU MP Library. <br><br>
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
@@ -33,7 +33,7 @@ MA 02111-1307, USA.
<hr>
<!-- NB. timestamp updated automatically by emacs -->
<comment>
- This file current as of 3 May 2002. An up-to-date version is available at
+ This file current as of 14 May 2002. An up-to-date version is available at
<a href="http://www.swox.com/gmp/projects.html">http://www.swox.com/gmp/projects.html</a>.
Please send comments about this page to
<a href="mailto:bug-gmp@gnu.org">bug-gmp@gnu.org</a>.
diff --git a/extract-dbl.c b/extract-dbl.c
index ba22af781..1a7e37b42 100644
--- a/extract-dbl.c
+++ b/extract-dbl.c
@@ -1,6 +1,6 @@
/* __gmp_extract_double -- convert from double to array of mp_limb_t.
-Copyright 1996, 1999, 2000, 2001 Free Software Foundation, Inc.
+Copyright 1996, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpf/cmp_si.c b/mpf/cmp_si.c
index 6266b953a..dddbee576 100644
--- a/mpf/cmp_si.c
+++ b/mpf/cmp_si.c
@@ -1,6 +1,7 @@
/* mpf_cmp_si -- Compare a float with a signed integer.
-Copyright 1993, 1994, 1995, 1999, 2000, 2001 Free Software Foundation, Inc.
+Copyright 1993, 1994, 1995, 1999, 2000, 2001, 2002 Free Software Foundation,
+Inc.
This file is part of the GNU MP Library.
diff --git a/mpf/cmp_ui.c b/mpf/cmp_ui.c
index 47ca597a4..53475a316 100644
--- a/mpf/cmp_ui.c
+++ b/mpf/cmp_ui.c
@@ -1,6 +1,6 @@
/* mpf_cmp_ui -- Compare a float with an unsigned integer.
-Copyright 1993, 1994, 1995, 1999, 2001 Free Software Foundation, Inc.
+Copyright 1993, 1994, 1995, 1999, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpf/div.c b/mpf/div.c
index 0f298a554..ce03b60b1 100644
--- a/mpf/div.c
+++ b/mpf/div.c
@@ -1,6 +1,6 @@
/* mpf_div -- Divide two floats.
-Copyright 1993, 1994, 1996, 2000, 2001 Free Software Foundation, Inc.
+Copyright 1993, 1994, 1996, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpf/div_2exp.c b/mpf/div_2exp.c
index 6f70aedd5..edad9dc8e 100644
--- a/mpf/div_2exp.c
+++ b/mpf/div_2exp.c
@@ -1,6 +1,6 @@
/* mpf_div_2exp -- Divide a float by 2^n.
-Copyright 1993, 1994, 1996, 2000, 2001 Free Software Foundation, Inc.
+Copyright 1993, 1994, 1996, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpf/div_ui.c b/mpf/div_ui.c
index 8aed3dbb7..66b52d2ee 100644
--- a/mpf/div_ui.c
+++ b/mpf/div_ui.c
@@ -1,6 +1,6 @@
/* mpf_div_ui -- Divide a float with an unsigned integer.
-Copyright 1993, 1994, 1996, 2000, 2001 Free Software Foundation, Inc.
+Copyright 1993, 1994, 1996, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpf/eq.c b/mpf/eq.c
index e33f51351..b7b2ddb73 100644
--- a/mpf/eq.c
+++ b/mpf/eq.c
@@ -1,6 +1,6 @@
/* mpf_eq -- Compare two floats up to a specified bit #.
-Copyright 1993, 1995, 1996, 2001 Free Software Foundation, Inc.
+Copyright 1993, 1995, 1996, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpf/get_d.c b/mpf/get_d.c
index d2a56e2af..bb5d6f98f 100644
--- a/mpf/get_d.c
+++ b/mpf/get_d.c
@@ -1,6 +1,6 @@
/* double mpf_get_d (mpf_t src) -- Return the double approximation to SRC.
-Copyright 1996, 2001 Free Software Foundation, Inc.
+Copyright 1996, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpf/get_d_2exp.c b/mpf/get_d_2exp.c
index cc5aced62..c16752b7d 100644
--- a/mpf/get_d_2exp.c
+++ b/mpf/get_d_2exp.c
@@ -1,6 +1,6 @@
/* double mpf_get_d_2exp (signed long int *exp, mpf_t src).
-Copyright 2001 Free Software Foundation, Inc.
+Copyright 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpf/get_si.c b/mpf/get_si.c
index 006966df0..92012fbc7 100644
--- a/mpf/get_si.c
+++ b/mpf/get_si.c
@@ -1,7 +1,7 @@
/* mpf_get_si -- mpf to long conversion */
/*
-Copyright 2001 Free Software Foundation, Inc.
+Copyright 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpf/get_ui.c b/mpf/get_ui.c
index c4a04706e..da162e9c5 100644
--- a/mpf/get_ui.c
+++ b/mpf/get_ui.c
@@ -1,7 +1,7 @@
/* mpf_get_ui -- mpf to ulong conversion */
/*
-Copyright 2001 Free Software Foundation, Inc.
+Copyright 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpf/int_p.c b/mpf/int_p.c
index 0212877c6..331e2eb17 100644
--- a/mpf/int_p.c
+++ b/mpf/int_p.c
@@ -1,7 +1,7 @@
/* mpf_integer_p -- test whether an mpf is an integer */
/*
-Copyright 2001 Free Software Foundation, Inc.
+Copyright 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpf/mul_2exp.c b/mpf/mul_2exp.c
index 00f0e45e7..c9525412a 100644
--- a/mpf/mul_2exp.c
+++ b/mpf/mul_2exp.c
@@ -1,6 +1,6 @@
/* mpf_mul_2exp -- Multiply a float by 2^n.
-Copyright 1993, 1994, 1996, 2000, 2001 Free Software Foundation, Inc.
+Copyright 1993, 1994, 1996, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpf/random2.c b/mpf/random2.c
index 26e6a2714..ade358ccb 100644
--- a/mpf/random2.c
+++ b/mpf/random2.c
@@ -2,7 +2,7 @@
long runs of consecutive ones and zeros in the binary representation.
Intended for testing of other MP routines.
-Copyright 1995, 1996, 2001 Free Software Foundation, Inc.
+Copyright 1995, 1996, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpf/set_q.c b/mpf/set_q.c
index f86b788a9..b45acb571 100644
--- a/mpf/set_q.c
+++ b/mpf/set_q.c
@@ -1,6 +1,6 @@
/* mpf_set_q (mpf_t rop, mpq_t op) -- Convert the rational op to the float rop.
-Copyright 1996, 1999, 2001 Free Software Foundation, Inc.
+Copyright 1996, 1999, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpf/set_si.c b/mpf/set_si.c
index dd9a594cf..43c698494 100644
--- a/mpf/set_si.c
+++ b/mpf/set_si.c
@@ -1,6 +1,6 @@
/* mpf_set_si() -- Assign a float from a signed int.
-Copyright 1993, 1994, 1995, 2000, 2001 Free Software Foundation, Inc.
+Copyright 1993, 1994, 1995, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpf/set_str.c b/mpf/set_str.c
index 306dd27db..54f56182a 100644
--- a/mpf/set_str.c
+++ b/mpf/set_str.c
@@ -2,8 +2,8 @@
in base BASE to a float in dest. If BASE is zero, the leading characters
of STRING is used to figure out the base.
-Copyright 1993, 1994, 1995, 1996, 1997, 2000, 2001 Free Software Foundation,
-Inc.
+Copyright 1993, 1994, 1995, 1996, 1997, 2000, 2001, 2002 Free Software
+Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpf/set_ui.c b/mpf/set_ui.c
index 8c530f617..96dc003ac 100644
--- a/mpf/set_ui.c
+++ b/mpf/set_ui.c
@@ -1,6 +1,6 @@
/* mpf_set_ui() -- Assign a float from an unsigned int.
-Copyright 1993, 1994, 1995, 2001 Free Software Foundation, Inc.
+Copyright 1993, 1994, 1995, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpf/sub.c b/mpf/sub.c
index fde3809c0..2e2cff945 100644
--- a/mpf/sub.c
+++ b/mpf/sub.c
@@ -1,7 +1,7 @@
/* mpf_sub -- Subtract two floats.
-Copyright 1993, 1994, 1995, 1996, 1999, 2000, 2001 Free Software Foundation,
-Inc.
+Copyright 1993, 1994, 1995, 1996, 1999, 2000, 2001, 2002 Free Software
+Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpf/ui_div.c b/mpf/ui_div.c
index e2056ba05..7dc4f53cc 100644
--- a/mpf/ui_div.c
+++ b/mpf/ui_div.c
@@ -1,6 +1,7 @@
/* mpf_ui_div -- Divide an unsigned integer with a float.
-Copyright 1993, 1994, 1995, 1996, 2000, 2001 Free Software Foundation, Inc.
+Copyright 1993, 1994, 1995, 1996, 2000, 2001, 2002 Free Software Foundation,
+Inc.
This file is part of the GNU MP Library.
diff --git a/mpf/ui_sub.c b/mpf/ui_sub.c
index e6a65d968..93cdfc1f8 100644
--- a/mpf/ui_sub.c
+++ b/mpf/ui_sub.c
@@ -1,6 +1,6 @@
/* mpf_ui_sub -- Subtract a float from an unsigned long int.
-Copyright 1993, 1994, 1995, 1996, 2001 Free Software Foundation, Inc.
+Copyright 1993, 1994, 1995, 1996, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpf/urandomb.c b/mpf/urandomb.c
index 7102c23b0..5bf4e8083 100644
--- a/mpf/urandomb.c
+++ b/mpf/urandomb.c
@@ -3,7 +3,7 @@
using STATE as the random state previously initialized by a call to
gmp_randinit().
-Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
+Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpn/alpha/README b/mpn/alpha/README
index a32f3b182..67ed43220 100644
--- a/mpn/alpha/README
+++ b/mpn/alpha/README
@@ -1,4 +1,4 @@
-Copyright 1996, 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
+Copyright 1996, 1997, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpn/generic/diveby3.c b/mpn/generic/diveby3.c
index 5069e61ee..23381a7b7 100644
--- a/mpn/generic/diveby3.c
+++ b/mpn/generic/diveby3.c
@@ -1,7 +1,7 @@
/* mpn_divexact_by3 -- mpn division by 3, expecting no remainder. */
/*
-Copyright 2000, 2001 Free Software Foundation, Inc.
+Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpn/generic/divrem.c b/mpn/generic/divrem.c
index d4d106ecd..315f6dbe3 100644
--- a/mpn/generic/divrem.c
+++ b/mpn/generic/divrem.c
@@ -2,7 +2,7 @@
quotient. This is now just a middle layer for calling the new
internal mpn_tdiv_qr.
-Copyright 1993, 1994, 1995, 1996, 1997, 1999, 2000, 2001 Free Software
+Copyright 1993, 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2002 Free Software
Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpn/generic/gcd.c b/mpn/generic/gcd.c
index ee7924ec5..c7641f71f 100644
--- a/mpn/generic/gcd.c
+++ b/mpn/generic/gcd.c
@@ -1,7 +1,7 @@
/* mpn/gcd.c: mpn_gcd for gcd of two odd integers.
-Copyright 1991, 1993, 1994, 1995, 1996, 1997, 1998, 2000, 2001 Free Software
-Foundation, Inc.
+Copyright 1991, 1993, 1994, 1995, 1996, 1997, 1998, 2000, 2001, 2002 Free
+Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpn/generic/gcdext.c b/mpn/generic/gcdext.c
index bc53b14a6..1dc7e4b1a 100644
--- a/mpn/generic/gcdext.c
+++ b/mpn/generic/gcdext.c
@@ -1,6 +1,6 @@
/* mpn_gcdext -- Extended Greatest Common Divisor.
-Copyright 1996, 1998, 2000, 2001 Free Software Foundation, Inc.
+Copyright 1996, 1998, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpn/generic/random.c b/mpn/generic/random.c
index 37bc47f5d..34b845aa3 100644
--- a/mpn/generic/random.c
+++ b/mpn/generic/random.c
@@ -1,6 +1,6 @@
/* mpn_random -- Generate random numbers.
-Copyright 2001 Free Software Foundation, Inc.
+Copyright 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpn/generic/random2.c b/mpn/generic/random2.c
index d4ef981c4..5546bfe78 100644
--- a/mpn/generic/random2.c
+++ b/mpn/generic/random2.c
@@ -1,7 +1,7 @@
/* mpn_random2 -- Generate random numbers with relatively long strings
of ones and zeroes. Suitable for border testing.
-Copyright 1992, 1993, 1994, 1996, 2000, 2001 Free Software Foundation, Inc.
+Copyright 1992, 1993, 1994, 1996, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpn/ia64/README b/mpn/ia64/README
index 7fc2ae487..5bdc72e5c 100644
--- a/mpn/ia64/README
+++ b/mpn/ia64/README
@@ -1,4 +1,4 @@
-Copyright 2000, 2001 Free Software Foundation, Inc.
+Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpn/pa64/umul_ppmm.asm b/mpn/pa64/umul_ppmm.asm
index b572a15be..6e1b4e129 100644
--- a/mpn/pa64/umul_ppmm.asm
+++ b/mpn/pa64/umul_ppmm.asm
@@ -1,4 +1,4 @@
-dnl Copyright 1999, 2000 Free Software Foundation, Inc.
+dnl Copyright 1999, 2000, 2002 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
diff --git a/mpn/sparc64/README b/mpn/sparc64/README
index 876e78cf9..78556c28f 100644
--- a/mpn/sparc64/README
+++ b/mpn/sparc64/README
@@ -1,4 +1,4 @@
-Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
+Copyright 1997, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpn/x86/gmp-mparam.h b/mpn/x86/gmp-mparam.h
index bb390104b..b2b598a68 100644
--- a/mpn/x86/gmp-mparam.h
+++ b/mpn/x86/gmp-mparam.h
@@ -1,6 +1,6 @@
/* Generic x86 gmp-mparam.h -- Compiler/machine parameter header file.
-Copyright 1991, 1993, 1994, 2000, 2001 Free Software Foundation, Inc.
+Copyright 1991, 1993, 1994, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpq/cmp.c b/mpq/cmp.c
index 34176efde..2d5572c0f 100644
--- a/mpq/cmp.c
+++ b/mpq/cmp.c
@@ -1,7 +1,7 @@
/* mpq_cmp(u,v) -- Compare U, V. Return postive, zero, or negative
based on if U > V, U == V, or U < V.
-Copyright 1991, 1994, 1996, 2001 Free Software Foundation, Inc.
+Copyright 1991, 1994, 1996, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpq/cmp_ui.c b/mpq/cmp_ui.c
index 00b7b03df..73735829b 100644
--- a/mpq/cmp_ui.c
+++ b/mpq/cmp_ui.c
@@ -2,7 +2,7 @@
negative based on if U > V, U == V, or U < V. Vn and Vd may have
common factors.
-Copyright 1993, 1994, 1996, 2000, 2001 Free Software Foundation, Inc.
+Copyright 1993, 1994, 1996, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpq/equal.c b/mpq/equal.c
index ca76685de..fe222fb95 100644
--- a/mpq/equal.c
+++ b/mpq/equal.c
@@ -1,7 +1,7 @@
/* mpq_equal(u,v) -- Compare U, V. Return non-zero if they are equal, zero
if they are non-equal.
-Copyright 1996, 2001 Free Software Foundation, Inc.
+Copyright 1996, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpq/get_d.c b/mpq/get_d.c
index 2e55dfc6a..67dc35fd9 100644
--- a/mpq/get_d.c
+++ b/mpq/get_d.c
@@ -1,6 +1,6 @@
/* double mpq_get_d (mpq_t src) -- Return the double approximation to SRC.
-Copyright 1995, 1996, 2001 Free Software Foundation, Inc.
+Copyright 1995, 1996, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpq/get_str.c b/mpq/get_str.c
index 55848544b..9196c3efa 100644
--- a/mpq/get_str.c
+++ b/mpq/get_str.c
@@ -1,6 +1,6 @@
/* mpq_get_str -- mpq to string conversion.
-Copyright 2001 Free Software Foundation, Inc.
+Copyright 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpq/md_2exp.c b/mpq/md_2exp.c
index c85cb196d..5aa17ef11 100644
--- a/mpq/md_2exp.c
+++ b/mpq/md_2exp.c
@@ -1,7 +1,7 @@
/* mpq_mul_2exp, mpq_div_2exp - multiply or divide by 2^N */
/*
-Copyright 2000 Free Software Foundation, Inc.
+Copyright 2000, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpq/set_f.c b/mpq/set_f.c
index f89fbda33..f7f71d0fa 100644
--- a/mpq/set_f.c
+++ b/mpq/set_f.c
@@ -1,6 +1,6 @@
/* mpq_set_f -- set an mpq from an mpf.
-Copyright 2000, 2001 Free Software Foundation, Inc.
+Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpz/aors_ui.h b/mpz/aors_ui.h
index e2f48aeb9..0b59cb36d 100644
--- a/mpz/aors_ui.h
+++ b/mpz/aors_ui.h
@@ -1,8 +1,8 @@
/* mpz_add_ui, mpz_sub_ui -- Add or subtract an mpz_t and an unsigned
one-word integer.
-Copyright 1991, 1993, 1994, 1996, 1999, 2000, 2001 Free Software Foundation,
-Inc.
+Copyright 1991, 1993, 1994, 1996, 1999, 2000, 2001, 2002 Free Software
+Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpz/aorsmul_i.c b/mpz/aorsmul_i.c
index f97ca226c..13a50181d 100644
--- a/mpz/aorsmul_i.c
+++ b/mpz/aorsmul_i.c
@@ -4,7 +4,7 @@
ALMOST CERTAIN TO BE SUBJECT TO INCOMPATIBLE CHANGES OR DISAPPEAR
COMPLETELY IN FUTURE GNU MP RELEASES.
-Copyright 2001 Free Software Foundation, Inc.
+Copyright 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpz/bin_ui.c b/mpz/bin_ui.c
index fe74fd9c4..fed0b8b28 100644
--- a/mpz/bin_ui.c
+++ b/mpz/bin_ui.c
@@ -1,6 +1,6 @@
/* mpz_bin_uiui - compute n over k.
-Copyright 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpz/bin_uiui.c b/mpz/bin_uiui.c
index 10878e30f..c5fc5b18f 100644
--- a/mpz/bin_uiui.c
+++ b/mpz/bin_uiui.c
@@ -1,6 +1,6 @@
/* mpz_bin_uiui - compute n over k.
-Copyright 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpz/cdiv_q_ui.c b/mpz/cdiv_q_ui.c
index 589690a12..d238cffef 100644
--- a/mpz/cdiv_q_ui.c
+++ b/mpz/cdiv_q_ui.c
@@ -3,7 +3,7 @@
always fit into the return type, the negative of the true remainder is
returned.
-Copyright 1994, 1996, 1999, 2001 Free Software Foundation, Inc.
+Copyright 1994, 1996, 1999, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpz/cdiv_qr_ui.c b/mpz/cdiv_qr_ui.c
index 4c64771b4..b8491692a 100644
--- a/mpz/cdiv_qr_ui.c
+++ b/mpz/cdiv_qr_ui.c
@@ -3,7 +3,7 @@
always fit into the return type, the negative of the true remainder is
returned.
-Copyright 1994, 1995, 1996, 1999, 2001 Free Software Foundation, Inc.
+Copyright 1994, 1995, 1996, 1999, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpz/cdiv_r_ui.c b/mpz/cdiv_r_ui.c
index a4478b8b4..74a918da7 100644
--- a/mpz/cdiv_r_ui.c
+++ b/mpz/cdiv_r_ui.c
@@ -3,7 +3,7 @@
always fit into the return type, the negative of the true remainder is
returned.
-Copyright 1994, 1995, 1996, 2001 Free Software Foundation, Inc.
+Copyright 1994, 1995, 1996, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpz/cdiv_ui.c b/mpz/cdiv_ui.c
index f86d082eb..ce34c0304 100644
--- a/mpz/cdiv_ui.c
+++ b/mpz/cdiv_ui.c
@@ -3,7 +3,7 @@
always fit into the return type, the negative of the true remainder is
returned.
-Copyright 1994, 1995, 1996, 2001 Free Software Foundation, Inc.
+Copyright 1994, 1995, 1996, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpz/cmp_d.c b/mpz/cmp_d.c
index 5660164af..da7548417 100644
--- a/mpz/cmp_d.c
+++ b/mpz/cmp_d.c
@@ -1,6 +1,6 @@
/* mpz_cmpabs_d -- compare absolute values of mpz and double.
-Copyright 2001 Free Software Foundation, Inc.
+Copyright 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpz/cmp_si.c b/mpz/cmp_si.c
index 981e51e1e..3cdb10380 100644
--- a/mpz/cmp_si.c
+++ b/mpz/cmp_si.c
@@ -1,8 +1,8 @@
/* mpz_cmp_si(u,v) -- Compare an integer U with a single-word int V.
Return positive, zero, or negative based on if U > V, U == V, or U < V.
-Copyright 1991, 1993, 1994, 1995, 1996, 2000, 2001 Free Software Foundation,
-Inc.
+Copyright 1991, 1993, 1994, 1995, 1996, 2000, 2001, 2002 Free Software
+Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpz/cmp_ui.c b/mpz/cmp_ui.c
index 018177838..bc27176a0 100644
--- a/mpz/cmp_ui.c
+++ b/mpz/cmp_ui.c
@@ -1,7 +1,8 @@
/* mpz_cmp_ui.c -- Compare a mpz_t a with an mp_limb_t b. Return positive,
zero, or negative based on if a > b, a == b, or a < b.
-Copyright 1991, 1993, 1994, 1995, 1996, 2001 Free Software Foundation, Inc.
+Copyright 1991, 1993, 1994, 1995, 1996, 2001, 2002 Free Software Foundation,
+Inc.
This file is part of the GNU MP Library.
diff --git a/mpz/cmpabs_d.c b/mpz/cmpabs_d.c
index 96020c591..de9e95ced 100644
--- a/mpz/cmpabs_d.c
+++ b/mpz/cmpabs_d.c
@@ -1,6 +1,6 @@
/* mpz_cmpabs_d -- compare absolute values of mpz and double.
-Copyright 2001 Free Software Foundation, Inc.
+Copyright 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpz/cmpabs_ui.c b/mpz/cmpabs_ui.c
index 426ad696f..e6c25457b 100644
--- a/mpz/cmpabs_ui.c
+++ b/mpz/cmpabs_ui.c
@@ -1,8 +1,8 @@
/* mpz_cmpabs_ui.c -- Compare a mpz_t a with an mp_limb_t b. Return positive,
zero, or negative based on if a > b, a == b, or a < b.
-Copyright 1991, 1993, 1994, 1995, 1997, 2000, 2001 Free Software Foundation,
-Inc.
+Copyright 1991, 1993, 1994, 1995, 1997, 2000, 2001, 2002 Free Software
+Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpz/divis.c b/mpz/divis.c
index e86618d1b..ca65ea851 100644
--- a/mpz/divis.c
+++ b/mpz/divis.c
@@ -1,7 +1,7 @@
/* mpz_divisible_p -- mpz by mpz divisibility test */
/*
-Copyright 2001 Free Software Foundation, Inc.
+Copyright 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpz/fac_ui.c b/mpz/fac_ui.c
index 0142ab07a..48ce4e39f 100644
--- a/mpz/fac_ui.c
+++ b/mpz/fac_ui.c
@@ -1,6 +1,7 @@
/* mpz_fac_ui(result, n) -- Set RESULT to N!.
-Copyright 1991, 1993, 1994, 1995, 2000, 2001 Free Software Foundation, Inc.
+Copyright 1991, 1993, 1994, 1995, 2000, 2001, 2002 Free Software Foundation,
+Inc.
This file is part of the GNU MP Library.
diff --git a/mpz/fdiv_q_ui.c b/mpz/fdiv_q_ui.c
index 5f684aa3f..464a3a6c8 100644
--- a/mpz/fdiv_q_ui.c
+++ b/mpz/fdiv_q_ui.c
@@ -1,7 +1,7 @@
/* mpz_fdiv_q_ui -- Division rounding the quotient towards -infinity.
The remainder gets the same sign as the denominator.
-Copyright 1994, 1995, 1996, 1999, 2001 Free Software Foundation, Inc.
+Copyright 1994, 1995, 1996, 1999, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpz/fdiv_qr_ui.c b/mpz/fdiv_qr_ui.c
index 2ff0f27e1..b298bb4e1 100644
--- a/mpz/fdiv_qr_ui.c
+++ b/mpz/fdiv_qr_ui.c
@@ -1,7 +1,7 @@
/* mpz_fdiv_qr_ui -- Division rounding the quotient towards -infinity.
The remainder gets the same sign as the denominator.
-Copyright 1994, 1995, 1996, 1999, 2001 Free Software Foundation, Inc.
+Copyright 1994, 1995, 1996, 1999, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpz/fdiv_r_ui.c b/mpz/fdiv_r_ui.c
index 5c39e8caa..5ee41ec38 100644
--- a/mpz/fdiv_r_ui.c
+++ b/mpz/fdiv_r_ui.c
@@ -1,7 +1,7 @@
/* mpz_fdiv_r_ui -- Division rounding the quotient towards -infinity.
The remainder gets the same sign as the denominator.
-Copyright 1994, 1995, 1996, 2001 Free Software Foundation, Inc.
+Copyright 1994, 1995, 1996, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpz/fdiv_ui.c b/mpz/fdiv_ui.c
index f680fe822..619f37728 100644
--- a/mpz/fdiv_ui.c
+++ b/mpz/fdiv_ui.c
@@ -1,7 +1,7 @@
/* mpz_fdiv_ui -- Division rounding the quotient towards -infinity.
The remainder gets the same sign as the denominator.
-Copyright 1994, 1995, 1996, 2001 Free Software Foundation, Inc.
+Copyright 1994, 1995, 1996, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpz/fits_s.h b/mpz/fits_s.h
index 4fc0848bc..aba7ee0e0 100644
--- a/mpz/fits_s.h
+++ b/mpz/fits_s.h
@@ -1,6 +1,6 @@
/* int mpz_fits_X_p (mpz_t z) -- test whether z fits signed type X.
-Copyright 1997, 2000, 2001 Free Software Foundation, Inc.
+Copyright 1997, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpz/gcd.c b/mpz/gcd.c
index 30ab867d0..0578c5174 100644
--- a/mpz/gcd.c
+++ b/mpz/gcd.c
@@ -1,6 +1,7 @@
/* mpz/gcd.c: Calculate the greatest common divisor of two integers.
-Copyright 1991, 1993, 1994, 1996, 2000, 2001 Free Software Foundation, Inc.
+Copyright 1991, 1993, 1994, 1996, 2000, 2001, 2002 Free Software Foundation,
+Inc.
This file is part of the GNU MP Library.
diff --git a/mpz/get_d.c b/mpz/get_d.c
index eb131b20e..e28e66f82 100644
--- a/mpz/get_d.c
+++ b/mpz/get_d.c
@@ -1,6 +1,6 @@
/* double mpz_get_d (mpz_t src) -- Return the double approximation to SRC.
-Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
+Copyright 1996, 1997, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpz/get_si.c b/mpz/get_si.c
index 2032af1ed..252b09171 100644
--- a/mpz/get_si.c
+++ b/mpz/get_si.c
@@ -1,6 +1,7 @@
/* mpz_get_si(integer) -- Return the least significant digit from INTEGER.
-Copyright 1991, 1993, 1994, 1995, 2000, 2001 Free Software Foundation, Inc.
+Copyright 1991, 1993, 1994, 1995, 2000, 2001, 2002 Free Software Foundation,
+Inc.
This file is part of the GNU MP Library.
diff --git a/mpz/jacobi.c b/mpz/jacobi.c
index d89208f01..46428203d 100644
--- a/mpz/jacobi.c
+++ b/mpz/jacobi.c
@@ -1,6 +1,6 @@
/* mpz_jacobi, mpz_legendre, mpz_kronecker -- mpz/mpz Jacobi symbols.
-Copyright 2000, 2001 Free Software Foundation, Inc.
+Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpz/mod.c b/mpz/mod.c
index e24049b1a..aa6e21604 100644
--- a/mpz/mod.c
+++ b/mpz/mod.c
@@ -1,6 +1,7 @@
/* mpz_mod -- The mathematical mod function.
-Copyright 1991, 1993, 1994, 1995, 1996, 2001 Free Software Foundation, Inc.
+Copyright 1991, 1993, 1994, 1995, 1996, 2001, 2002 Free Software Foundation,
+Inc.
This file is part of the GNU MP Library.
diff --git a/mpz/powm_ui.c b/mpz/powm_ui.c
index db9e64faa..d73c3afc4 100644
--- a/mpz/powm_ui.c
+++ b/mpz/powm_ui.c
@@ -1,7 +1,7 @@
/* mpz_powm_ui(res,base,exp,mod) -- Set RES to (base**exp) mod MOD.
-Copyright 1991, 1993, 1994, 1996, 1997, 2000, 2001 Free Software Foundation,
-Inc.
+Copyright 1991, 1993, 1994, 1996, 1997, 2000, 2001, 2002 Free Software
+Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpz/rrandomb.c b/mpz/rrandomb.c
index 1e86a0c81..e5d9070a6 100644
--- a/mpz/rrandomb.c
+++ b/mpz/rrandomb.c
@@ -2,7 +2,7 @@
long runs of consecutive ones and zeros in the binary representation.
Meant for testing of other MP routines.
-Copyright 2000, 2001 Free Software Foundation, Inc.
+Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpz/tdiv_q_ui.c b/mpz/tdiv_q_ui.c
index 92f1954de..de5908e2c 100644
--- a/mpz/tdiv_q_ui.c
+++ b/mpz/tdiv_q_ui.c
@@ -1,7 +1,8 @@
/* mpz_tdiv_q_ui(quot, dividend, divisor_limb)
-- Divide DIVIDEND by DIVISOR_LIMB and store the result in QUOT.
-Copyright 1991, 1993, 1994, 1996, 1998, 2001 Free Software Foundation, Inc.
+Copyright 1991, 1993, 1994, 1996, 1998, 2001, 2002 Free Software Foundation,
+Inc.
This file is part of the GNU MP Library.
diff --git a/mpz/tdiv_qr_ui.c b/mpz/tdiv_qr_ui.c
index fa5e8121b..12a9cbcad 100644
--- a/mpz/tdiv_qr_ui.c
+++ b/mpz/tdiv_qr_ui.c
@@ -2,7 +2,8 @@
Set QUOT to DIVIDEND / SHORT_DIVISOR
and REM to DIVIDEND mod SHORT_DIVISOR.
-Copyright 1991, 1993, 1994, 1996, 1998, 2001 Free Software Foundation, Inc.
+Copyright 1991, 1993, 1994, 1996, 1998, 2001, 2002 Free Software Foundation,
+Inc.
This file is part of the GNU MP Library.
diff --git a/mpz/tdiv_r_ui.c b/mpz/tdiv_r_ui.c
index 6f6301092..7791fd94b 100644
--- a/mpz/tdiv_r_ui.c
+++ b/mpz/tdiv_r_ui.c
@@ -1,7 +1,8 @@
/* mpz_tdiv_r_ui(rem, dividend, divisor_limb)
-- Set REM to DIVDEND mod DIVISOR_LIMB.
-Copyright 1991, 1993, 1994, 1996, 1998, 2001 Free Software Foundation, Inc.
+Copyright 1991, 1993, 1994, 1996, 1998, 2001, 2002 Free Software Foundation,
+Inc.
This file is part of the GNU MP Library.
diff --git a/mpz/tdiv_ui.c b/mpz/tdiv_ui.c
index 406fbc4b2..ec4390120 100644
--- a/mpz/tdiv_ui.c
+++ b/mpz/tdiv_ui.c
@@ -1,7 +1,7 @@
/* mpz_tdiv_ui(dividend, divisor_limb) -- Return DIVDEND mod DIVISOR_LIMB.
-Copyright 1991, 1993, 1994, 1996, 1997, 1998, 2001 Free Software Foundation,
-Inc.
+Copyright 1991, 1993, 1994, 1996, 1997, 1998, 2001, 2002 Free Software
+Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/mpz/ui_pow_ui.c b/mpz/ui_pow_ui.c
index 1b3a2d349..6eedd0dff 100644
--- a/mpz/ui_pow_ui.c
+++ b/mpz/ui_pow_ui.c
@@ -1,6 +1,6 @@
/* mpz_ui_pow_ui -- ulong raised to ulong.
-Copyright 2001 Free Software Foundation, Inc.
+Copyright 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/randraw.c b/randraw.c
index c38f37b63..87eda9fa5 100644
--- a/randraw.c
+++ b/randraw.c
@@ -2,7 +2,7 @@
length NBITS in RP. RP must have enough space allocated to hold
NBITS.
-Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
+Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/tests/Makefile.am b/tests/Makefile.am
index b3f3de0cf..0ddd4fa29 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,6 +1,6 @@
## Process this file with automake to generate Makefile.in
-# Copyright 2000, 2001 Free Software Foundation, Inc.
+# Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
#
# This file is part of the GNU MP Library.
#
diff --git a/tests/memory.c b/tests/memory.c
index a67e66669..fa834a207 100644
--- a/tests/memory.c
+++ b/tests/memory.c
@@ -1,6 +1,6 @@
/* Memory allocation used during tests.
-Copyright 2001 Free Software Foundation, Inc.
+Copyright 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/tests/misc/t-scanf.c b/tests/misc/t-scanf.c
index 80636d617..75bec79e5 100644
--- a/tests/misc/t-scanf.c
+++ b/tests/misc/t-scanf.c
@@ -1,6 +1,6 @@
/* Test gmp_scanf and related functions.
-Copyright 2001 Free Software Foundation, Inc.
+Copyright 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/tests/mpf/t-trunc.c b/tests/mpf/t-trunc.c
index 235f26f14..119ef90b8 100644
--- a/tests/mpf/t-trunc.c
+++ b/tests/mpf/t-trunc.c
@@ -1,6 +1,6 @@
/* Test mpf_trunc, mpf_ceil, mpf_floor.
-Copyright 2001 Free Software Foundation, Inc.
+Copyright 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/tests/mpq/t-get_d.c b/tests/mpq/t-get_d.c
index dda515aa4..dbf0aeeed 100644
--- a/tests/mpq/t-get_d.c
+++ b/tests/mpq/t-get_d.c
@@ -1,6 +1,7 @@
/* Test mpq_get_d and mpq_set_d
-Copyright 1991, 1993, 1994, 1996, 2000, 2001 Free Software Foundation, Inc.
+Copyright 1991, 1993, 1994, 1996, 2000, 2001, 2002 Free Software Foundation,
+Inc.
This file is part of the GNU MP Library.
diff --git a/tests/mpz/bit.c b/tests/mpz/bit.c
index 6633ee482..70114ef14 100644
--- a/tests/mpz/bit.c
+++ b/tests/mpz/bit.c
@@ -1,6 +1,6 @@
/* Test mpz_setbit, mpz_clrbit, mpz_tstbit.
-Copyright 1997, 2000, 2001 Free Software Foundation, Inc.
+Copyright 1997, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/tests/mpz/convert.c b/tests/mpz/convert.c
index 2e15f2236..a636412e1 100644
--- a/tests/mpz/convert.c
+++ b/tests/mpz/convert.c
@@ -1,6 +1,7 @@
/* Test conversion using mpz_get_str and mpz_set_str.
-Copyright 1993, 1994, 1996, 1999, 2000, 2001 Free Software Foundation, Inc.
+Copyright 1993, 1994, 1996, 1999, 2000, 2001, 2002 Free Software Foundation,
+Inc.
This file is part of the GNU MP Library.
diff --git a/tests/mpz/t-aorsmul.c b/tests/mpz/t-aorsmul.c
index 1463806f0..434376858 100644
--- a/tests/mpz/t-aorsmul.c
+++ b/tests/mpz/t-aorsmul.c
@@ -1,6 +1,6 @@
/* Test mpz_addmul, mpz_addmul_ui, mpz_submul, mpz_submul_ui.
-Copyright 2001 Free Software Foundation, Inc.
+Copyright 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/tests/mpz/t-gcd.c b/tests/mpz/t-gcd.c
index 3ba3e4632..74bf3cfdc 100644
--- a/tests/mpz/t-gcd.c
+++ b/tests/mpz/t-gcd.c
@@ -1,8 +1,8 @@
/* Test mpz_gcd, mpz_gcdext, mpz_mul, mpz_tdiv_r, mpz_add, mpz_cmp,
mpz_cmp_ui, mpz_init_set, mpz_set, mpz_clear.
-Copyright 1991, 1993, 1994, 1996, 1997, 2000, 2001 Free Software Foundation,
-Inc.
+Copyright 1991, 1993, 1994, 1996, 1997, 2000, 2001, 2002 Free Software
+Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/tests/mpz/t-mul.c b/tests/mpz/t-mul.c
index 04dd36fe9..e5c2f47ba 100644
--- a/tests/mpz/t-mul.c
+++ b/tests/mpz/t-mul.c
@@ -1,7 +1,7 @@
/* Test mpz_cmp, mpz_cmp_ui, mpz_tdiv_qr, mpz_mul.
-Copyright 1991, 1993, 1994, 1996, 1997, 2000, 2001 Free Software Foundation,
-Inc.
+Copyright 1991, 1993, 1994, 1996, 1997, 2000, 2001, 2002 Free Software
+Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/tests/mpz/t-powm_ui.c b/tests/mpz/t-powm_ui.c
index 16049f242..a75893ab1 100644
--- a/tests/mpz/t-powm_ui.c
+++ b/tests/mpz/t-powm_ui.c
@@ -1,6 +1,7 @@
/* Test mpz_powm_ui, mpz_mul. mpz_mod.
-Copyright 1991, 1993, 1994, 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
+Copyright 1991, 1993, 1994, 1996, 1997, 2000, 2001, 2002 Free Software
+Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/tests/mpz/t-scan.c b/tests/mpz/t-scan.c
index 155b1d2eb..a08e1671a 100644
--- a/tests/mpz/t-scan.c
+++ b/tests/mpz/t-scan.c
@@ -1,6 +1,6 @@
/* Tests of mpz_scan0 and mpz_scan1.
-Copyright 2000, 2001 Free Software Foundation, Inc.
+Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/tests/mpz/t-sizeinbase.c b/tests/mpz/t-sizeinbase.c
index 6328ee2f9..10f667240 100644
--- a/tests/mpz/t-sizeinbase.c
+++ b/tests/mpz/t-sizeinbase.c
@@ -1,6 +1,6 @@
/* Test mpz_sizeinbase.
-Copyright 2001 Free Software Foundation, Inc.
+Copyright 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/tests/mpz/t-sqrtrem.c b/tests/mpz/t-sqrtrem.c
index 631a207a0..cfde2995b 100644
--- a/tests/mpz/t-sqrtrem.c
+++ b/tests/mpz/t-sqrtrem.c
@@ -1,6 +1,7 @@
/* Test mpz_add, mpz_add_ui, mpz_cmp, mpz_cmp, mpz_mul, mpz_sqrtrem.
-Copyright 1991, 1993, 1994, 1996, 2000, 2001 Free Software Foundation, Inc.
+Copyright 1991, 1993, 1994, 1996, 2000, 2001, 2002 Free Software Foundation,
+Inc.
This file is part of the GNU MP Library.
diff --git a/tune/modlinv.c b/tune/modlinv.c
index 863c49d12..aab1c119f 100644
--- a/tune/modlinv.c
+++ b/tune/modlinv.c
@@ -1,7 +1,7 @@
/* Alternate implementations of modlimb_invert to compare speeds. */
/*
-Copyright 2000 Free Software Foundation, Inc.
+Copyright 2000, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.