Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MPI_Aint_diff(3)		      MPI		      MPI_Aint_diff(3)

NAME
       MPI_Aint_diff -	Returns	the difference between addr1 and addr2

SYNOPSIS
       MPI_Aint	MPI_Aint_diff(MPI_Aint addr1, MPI_Aint addr2)

INPUT PARAMETERS
       addr1  -	minuend	address	(integer)
       addr2  -	subtrahend address (integer)

RETURN VALUE
       Difference between addr1	and addr2

NOTES
       MPI_Aint_diff  produces	a new MPI_Aint value that is equivalent	to the
       difference between addr1	and addr2 arguments,  where  addr1  and	 addr2
       represent addresses returned by calls to	MPI_GET_ADDRESS. The resulting
       address is valid	only at	the process that generated  addr1  and	addr2,
       and  addr1 and addr2 must correspond to locations in the	same object in
       the same	process. The difference	is calculated in a manner that results
       the signed difference from addr1	to addr2, as if	the process that orig-
       inally produced the addresses had called	(char  *)  addr1  -  (char  *)
       addr2 on	the addresses initially	passed to MPI_GET_ADDRESS.

SEE ALSO
       MPI_Aint_add

				   11/9/2015		      MPI_Aint_diff(3)

NAME | SYNOPSIS | INPUT PARAMETERS | RETURN VALUE | NOTES | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=MPI_Aint_diff&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help