[Gmp-commit] /var/hg/gmp: doc/gmp.texi (mpn_sec_powm): Specify that exponent ...

mercurial at gmplib.org mercurial at gmplib.org
Thu Jan 3 19:04:01 UTC 2019


details:   /var/hg/gmp/rev/3dae3fd7818a
changeset: 17750:3dae3fd7818a
user:      Marco Bodrato <bodrato at mail.dm.unipi.it>
date:      Thu Jan 03 20:03:52 2019 +0100
description:
doc/gmp.texi (mpn_sec_powm): Specify that exponent can not have 0 bits lenght.

diffstat:

 doc/gmp.texi |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r f47a94a3f281 -r 3dae3fd7818a doc/gmp.texi
--- a/doc/gmp.texi	Wed Jan 02 23:48:14 2019 +0100
+++ b/doc/gmp.texi	Thu Jan 03 20:03:52 2019 +0100
@@ -5802,7 +5802,7 @@
 @code{GMP\_NUMB\_BITS}}}@}.
 
 It is required that @math{@var{B} > 0}, that @math{@var{M} > 0} is odd, and
-that @m{@var{E} < 2 at GMPraise{@var{enb}}, @var{E} < 2^@var{enb}}.
+that @m{0 < @var{E} < 2 at GMPraise{@var{enb}}, 0 < @var{E} < 2^@var{enb}}.
 
 No overlapping between @var{R} and the input operands is allowed.
 


More information about the gmp-commit mailing list