Clarify comments of mpi_mul_int()

This commit is contained in:
Manuel Pégourié-Gonnard 2013-11-25 16:16:33 +01:00 committed by Paul Bakker
parent c57b654a3e
commit 3eaa8e7005

View File

@ -540,8 +540,9 @@ int mpi_mul_mpi( mpi *X, const mpi *A, const mpi *B );
/**
* \brief Baseline multiplication: X = A * b
* Note: b is an unsigned integer type, thus
* Negative values of b are ignored.
* Note: despite the functon signature, b is treated as a
* t_uint. Negative values of b are treated as large positive
* values.
*
* \param X Destination MPI
* \param A Left-hand MPI