bitset(X;Y)
Returns a boolean value indicating whether a particular bit of a given 32-bit integer is set.
Syntax
bitset(X;Y)
Input
Argument | Type | Description |
---|---|---|
X |
integer | A scalar value or the name of a column
|
Y |
integer | A scalar value or the name of a column
|
Return Value
Returns an integer value of 1 if the
Y
th
least significant bit of X
is set (i.e., equal to 1). Otherwise, returns a
0. Note: (This is equivalent to
X
AND
2Y
.)If X
and/or Y
is N/A, they are handled according to their
internal representation like any other number.