The bitwise logical operators for int32 objects.
system
int32-logand x y => int32
int32-logandc1 x y => int32
int32-logandc2 x y => int32
int32-logbitp index x => result
int32-logeqv x y => int32
int32-logior x y => int32
int32-lognand x y => int32
int32-lognor x y => int32
int32-lognot x => int32
int32-logorc1 x y => int32
int32-logorc2 x y => int32
int32-logtest x y => result
int32-logxor x y => int32
| x⇩ |
An int32 object or an integer of type (signed-byte 32). |
| y⇩ |
An int32 object or an integer of type (signed-byte 32). |
| index⇩ |
An int32 object or an integer of type (signed-byte 32). |
| int32 |
An int32 object. |
| result |
An boolean. |
The function int32-logand is the bitwise logical 'and' operator for int32 objects.
The function int32-logandc1 is the bitwise logical operator for int32 objects which 'ands' the complement of x with y.
The function int32-logandc2 is the bitwise logical operator for int32 objects which 'ands' x with the complement of y.
The function int32-logbitp is the test for int32 objects which returns t if if the bit at index index in x is 1, and nil if it is 0.
The function int32-logeqv is the bitwise logical operator for int32 objects which returns the complement of the 'exclusive or' of x and y.
The function int32-logior is the bitwise logical 'inclusive or' operator for int32 objects.
The function int32-lognand is the bitwise logical operator for int32 objects which returns the complement of the 'and' of x and y.
The function int32-lognor is the bitwise logical operator for int32 objects which returns the complement of the 'inclusive or' of x and y.
The function int32-lognot is the bitwise logical operator for int32 objects which returns the complement of its argument x.
The function int32-logorc1 is the bitwise logical operator for int32 objects which 'inclusive ors' the complement of x with y.
The function int32-logorc2 is the bitwise logical operator for int32 objects which 'inclusive ors' x with the complement of y.
The function int32-logtest is the bitwise test for int32 objects which returns t if any of the bits designated by 1 in x is 1 in y, and returns nil otherwise.
The function int32-logxor is the bitwise logical 'exclusive or' operator for int32 objects.
See the section 28.2.2 Fast 32-bit arithmetic for more information about the INT32 API.
LispWorks® User Guide and Reference Manual - 18 Feb 2025 15:32:47