libzahl

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

commit fc0b03aa13b1850a7f38f03fd2d6e066c4be067b
parent 7335af89f48b7e144022ca0c50858554fd143818
Author: Mattias Andrée <maandree@kth.se>
Date:   Wed,  2 Mar 2016 21:49:04 +0100

zahl.h: fix working mishapp for zptest

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

Diffstat:
Mzahl.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/zahl.h b/zahl.h @@ -104,7 +104,7 @@ size_t zlsb(z_t); /* Index of first set bit, SIZE_MAX if no void zgcd(z_t, z_t, z_t); /* a := gcd(b, c) */ /* NONPRIME if b ∉ ℙ, PROBABLY_PRIME, if b ∈ ℙ with (1 − 4↑−c) certainty, 2 if PRIME ∈ ℙ. - * If NONPRIME is returned the witness of b's compositeness is stored in a unless a is NONPRIME. */ + * If NONPRIME is returned the witness of b's compositeness is stored in a. */ enum zprimality zptest(z_t, z_t, int);