libzahl

big integer library
git clone git://git.suckless.org/libzahl
Log | Files | Refs | README | LICENSE

commit e702b9682fcd87fac3ce169e2c98d0c409a6f7e0
parent 8d540d4a51d480a05f1accea2b0ceb096b647652
Author: Mattias Andrée <maandree@kth.se>
Date:   Sun,  1 May 2016 01:20:52 +0200

zptest.3: why it is called NONPRIME rather than COMPOSITE

Signed-off-by: Mattias Andrée <maandree@kth.se>

Diffstat:
Mman/zptest.3 | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git 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)