Blame www/www3/MPI_Aint_diff.html

Packit Service c5cf8c
Packit Service c5cf8c
<HTML>
Packit Service c5cf8c
<HEAD>
Packit Service c5cf8c
<META NAME="GENERATOR" CONTENT="DOCTEXT">
Packit Service c5cf8c
<TITLE>MPI_Aint_diff</TITLE>
Packit Service c5cf8c
</HEAD>
Packit Service c5cf8c
<BODY BGCOLOR="FFFFFF">
Packit Service c5cf8c

MPI_Aint_diff

Packit Service c5cf8c
Returns the difference between addr1 and addr2 
Packit Service c5cf8c

Synopsis

Packit Service c5cf8c
Packit Service c5cf8c
MPI_Aint MPI_Aint_diff(MPI_Aint addr1, MPI_Aint addr2)
Packit Service c5cf8c
Packit Service c5cf8c

Input Parameters

Packit Service c5cf8c
Packit Service c5cf8c
addr1
minuend address (integer)
Packit Service c5cf8c
Packit Service c5cf8c
addr2
subtrahend address (integer)
Packit Service c5cf8c
Packit Service c5cf8c

Packit Service c5cf8c

Return value

Packit Service c5cf8c
Difference between addr1 and addr2
Packit Service c5cf8c

Packit Service c5cf8c

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
Packit Service c5cf8c
    (char *) addr1 - (char *) addr2
Packit Service c5cf8c
Packit Service c5cf8c
Packit Service c5cf8c
on the addresses initially passed to MPI_GET_ADDRESS.
Packit Service c5cf8c

Packit Service c5cf8c

See Also

Packit Service c5cf8c
 MPI_Aint_add
Packit Service c5cf8c

Packit Service c5cf8c
</BODY></HTML>