CXML
AND (3sciport)
SYNOPSIS
boolean = AND( arg1, arg2 )
FUNCTION VALUE
and Boolean. (Integer, Logical, or Real.)
The bit-wise boolean .AND. of two 64 bit data items.
ARGUMENTS
arg1 Integer, Logical, or Real.
A 64 bit input argument.
arg2 Integer, Logical, or Real.
A 64 bit input argument.
DESCRIPTION
The external function AND returns the bit-wise boolean .AND. of the input
arguments, arg1 and arg2.
For equations and other information, see Volume 3: UNICOS Math and
Scientific Library Reference Manual SR-2081 7.0, Cray Research, Inc.
NOTES
Since AND is not an ANSI Fortran 77 intrinsic function, it must be declared
as an external function of type integer, logical or real. For example:
EXTERNAL AND
REAL AND
...
X = AND( X,'7FFFFFFFFFFFFFFF'X ) ! Same as X = ABS( X )
For more information about boolean functions, see the sciport man page.
CXML Home Page Index of CXML Routines