aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-05-01 01:20:52 +0200
committerMattias Andrée <maandree@kth.se>2016-05-01 01:20:52 +0200
commite702b9682fcd87fac3ce169e2c98d0c409a6f7e0 (patch)
tree88342433c19521d6da3b4caf99a536c76379fdd8 /man
parentrefsheet: tweak vspace and align the table with the title using hspace (diff)
downloadlibzahl-e702b9682fcd87fac3ce169e2c98d0c409a6f7e0.tar.gz
libzahl-e702b9682fcd87fac3ce169e2c98d0c409a6f7e0.tar.bz2
libzahl-e702b9682fcd87fac3ce169e2c98d0c409a6f7e0.tar.xz
zptest.3: why it is called NONPRIME rather than COMPOSITE
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'man')
-rw-r--r--man/zptest.38
1 files changed, 7 insertions, 1 deletions
diff --git a/man/zptest.3 b/man/zptest.3
index f8193d0..dd35430 100644
--- a/man/zptest.3
+++ b/man/zptest.3
@@ -45,7 +45,7 @@ This function will either return:
.TP
.B NONPRIME
.I questioned
-is certainly a composite number.
+is certainly a nonprime number (composite).
.TP
.B PROBABLY_PRIME
.I questioned
@@ -70,5 +70,11 @@ the chance that
.B PRIME
is returned.
.IR witness .
+.SH RATIONALE
+.B NONPRIME
+is called just that, rather than COMPOSITE,
+because negative integers, zero, and one are
+neither prime nor composite. (One was historically
+a prime, we do not recognise it as such.)
.SH SEE ALSO
.BR zgcd (3)