Blame man/man3/MPI_Aint_diff.3

Packit Service c5cf8c
.TH MPI_Aint_diff 3 "11/12/2019" " " "MPI"
Packit Service c5cf8c
.SH NAME
Packit Service c5cf8c
MPI_Aint_diff \-  Returns the difference between addr1 and addr2 
Packit Service c5cf8c
.SH SYNOPSIS
Packit Service c5cf8c
.nf
Packit Service c5cf8c
MPI_Aint MPI_Aint_diff(MPI_Aint addr1, MPI_Aint addr2)
Packit Service c5cf8c
.fi
Packit Service c5cf8c
.SH INPUT PARAMETERS
Packit Service c5cf8c
.PD 0
Packit Service c5cf8c
.TP
Packit Service c5cf8c
.B addr1 
Packit Service c5cf8c
- minuend address (integer)
Packit Service c5cf8c
.PD 1
Packit Service c5cf8c
.PD 0
Packit Service c5cf8c
.TP
Packit Service c5cf8c
.B addr2 
Packit Service c5cf8c
- subtrahend address (integer)
Packit Service c5cf8c
.PD 1
Packit Service c5cf8c
Packit Service c5cf8c
.SH RETURN VALUE
Packit Service c5cf8c
Difference between addr1 and addr2
Packit Service c5cf8c
Packit Service c5cf8c
.SH NOTES
Packit Service c5cf8c
MPI_Aint_diff produces a new MPI_Aint value that is equivalent to the difference
Packit Service c5cf8c
between addr1 and addr2 arguments, where addr1 and addr2 represent addresses
Packit Service c5cf8c
returned by calls to MPI_GET_ADDRESS. The resulting address is valid only at the
Packit Service c5cf8c
process that generated addr1 and addr2, and addr1 and addr2 must correspond to
Packit Service c5cf8c
locations in the same object in the same process. The difference is calculated
Packit Service c5cf8c
in a manner that results the signed difference from addr1 to addr2, as if the
Packit Service c5cf8c
process that originally produced the addresses had called
Packit Service c5cf8c
.nf
Packit Service c5cf8c
(char *) addr1 - (char *) addr2
Packit Service c5cf8c
.fi
Packit Service c5cf8c
Packit Service c5cf8c
on the addresses initially passed to MPI_GET_ADDRESS.
Packit Service c5cf8c
Packit Service c5cf8c
.SH SEE ALSO
Packit Service c5cf8c
MPI_Aint_add
Packit Service c5cf8c
.br