[git] GCRYPT - branch, master, updated. libgcrypt-1.8.1-23-g0abd103

by Werner Koch cvs at cvs.gnupg.org
Wed Nov 15 20:42:23 CET 2017

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU crypto library".

The branch, master has been updated
       via  0abd1031bc0d889f21ddbf4ced8764d2191075fe (commit)
      from  c594f187bd457b757112adc551ffa4db92962dc1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0abd1031bc0d889f21ddbf4ced8764d2191075fe
Author: Werner Koch <wk at gnupg.org>
Date:   Wed Nov 15 20:35:16 2017 +0100

    doc: Clarify gcry_mpi_div

diff --git a/doc/gcrypt.texi b/doc/gcrypt.texi
index a684134..dd24469 100644
--- a/doc/gcrypt.texi
+++ b/doc/gcrypt.texi
@@ -4759,7 +4759,9 @@ Basic arithmetic operations:
 @math{@var{q} = @var{dividend} / @var{divisor}}, @math{@var{r} =
 @var{dividend} \bmod @var{divisor}}.  @var{q} and @var{r} may be passed
-as @code{NULL}.  @var{round} should be negative or 0.
+as @code{NULL}.  @var{round} is either negative for floored division
+(rounds towards the next lower integer) or zero for truncated division
+(rounds towards zero).
 @end deftypefun
 @deftypefun void gcry_mpi_mod (@w{gcry_mpi_t @var{r}}, @w{gcry_mpi_t @var{dividend}}, @w{gcry_mpi_t @var{divisor}})


Summary of changes:
 doc/gcrypt.texi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

The GNU crypto library

Gnupg-commits mailing list
Gnupg-commits at gnupg.org

More information about the Gcrypt-devel mailing list