summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gmp.h2
-rw-r--r--rand.c2
-rw-r--r--randlc.c2
-rw-r--r--randlc2x.c2
-rw-r--r--randraw.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/gmp.h b/gmp.h
index 98a44a248..86868a0d7 100644
--- a/gmp.h
+++ b/gmp.h
@@ -121,7 +121,7 @@ typedef __mpf_struct mpf_t[1];
typedef enum
{
GMP_RAND_ALG_DEFAULT = 0,
- GMP_RAND_ALG_LC = GMP_RAND_ALG_DEFAULT, /* Linear congruental. */
+ GMP_RAND_ALG_LC = GMP_RAND_ALG_DEFAULT, /* Linear congruential. */
GMP_RAND_ALG_BBS /* Blum, Blum, and Shub. */
} gmp_rand_algorithm;
diff --git a/rand.c b/rand.c
index 45527378f..868dfb2ba 100644
--- a/rand.c
+++ b/rand.c
@@ -77,7 +77,7 @@ gmp_rand_init (s, size, alg)
{
switch (alg)
{
- case GMP_RAND_ALG_LC: /* Linear congruental. */
+ case GMP_RAND_ALG_LC: /* Linear congruential. */
{
__gmp_rand_lc_scheme_struct *sp;
mpz_t a;
diff --git a/randlc.c b/randlc.c
index f97706a7a..f36b3eb1f 100644
--- a/randlc.c
+++ b/randlc.c
@@ -1,5 +1,5 @@
/* gmp_rand_init_lc (state, a, c, m) -- Initialize a random state for
- a linear congruental generator with multiplier A, adder C, and
+ a linear congruential generator with multiplier A, adder C, and
modulus M.
Copyright (C) 1999, 2000 Free Software Foundation, Inc.
diff --git a/randlc2x.c b/randlc2x.c
index 48273fc41..b37d7cf0e 100644
--- a/randlc2x.c
+++ b/randlc2x.c
@@ -1,5 +1,5 @@
/* gmp_rand_init_lc_2exp (state, a, c, m2exp) -- Initialize random
- state STATE for a linear congruental generator with multiplier A,
+ state STATE for a linear congruential generator with multiplier A,
adder C, and modulus 2 ^ M2EXP.
Copyright (C) 2000 Free Software Foundation, Inc.
diff --git a/randraw.c b/randraw.c
index 56d6a64cf..9ea5842ae 100644
--- a/randraw.c
+++ b/randraw.c
@@ -25,7 +25,7 @@ MA 02111-1307, USA. */
#include "gmp-impl.h"
#include "longlong.h"
-/* For linear congruental (LC), we use one of algorithms (1) or (2).
+/* For linear congruential (LC), we use one of algorithms (1) or (2).
(gmp-3.0 uses algorithm (1) with 'm' as a power of 2.)
LC algorithm (1).