Slightly improve function descriptions.

This commit is contained in:
Dag-Erling Smørgrav 2017-04-05 09:27:57 +02:00
parent 094635f394
commit 8477c4ae0b
3 changed files with 4 additions and 3 deletions

View File

@ -37,7 +37,7 @@
#include "cryb_mpi_impl.h"
/*
* Add two numbers together.
* Store the sum of A and B in X.
*/
int
mpi_add(cryb_mpi *X, const cryb_mpi *A, const cryb_mpi *B)

View File

@ -37,7 +37,7 @@
#include "cryb_mpi_impl.h"
/*
* Subtract one number from another.
* Store the difference of A and B in X.
*/
int
mpi_sub(cryb_mpi *X, const cryb_mpi *A, const cryb_mpi *B)

View File

@ -37,7 +37,8 @@
#include "cryb_mpi_impl.h"
/*
* Store the difference between the absolute values of A and B in X.
* Store the absolute value of the difference of the absolute values of A
* and B in X.
*/
int
mpi_sub_abs(cryb_mpi *X, const cryb_mpi *A, const cryb_mpi *B)