CXML
Mask (3sciport)
SYNOPSIS
boolean = MASK( arg )
FUNCTION VALUE
mask Boolean. (Integer.)
A mask of one bits.
ARGUMENTS
arg Integer.
An integer input argument.
DESCRIPTION
The external function MASK returns a bit mask of 1's whose length is
determined by arg, where arg is some integer in the closed interval
[0,128]. When arg is in the closed interval [0,63], a left justified mask
of length arg is returned. When arg is in the closed interval [64,128], a
right justified mask of length 128-arg is returned.
For equations and other information, see Volume 3: UNICOS Math and
Scientific Library Reference Manual SR-2081 7.0, Cray Research, Inc.
CXML Home Page Index of CXML Routines