All Manuals > LispWorks® User Guide and Reference Manual > 47 The SYSTEM Package

int64-logand

int64-logandc1

int64-logandc2

int64-logbitp

int64-logeqv

int64-logior

int64-lognand

int64-lognor

int64-lognot

int64-logorc1

int64-logorc2

int64-logtest

int64-logxor Functions

Summary

The bitwise logical operators for int64 objects.

Package

system

Signatures

int64-logand x y => int64

int64-logandc1 x y => int64

int64-logandc2 x y => int64

int64-logbitp index x => result

int64-logeqv x y => int64

int64-logior x y => int64

int64-lognand x y => int64

int64-lognor x y => int64

int64-lognot x => int64

int64-logorc1 x y => int64

int64-logorc2 x y => int64

int64-logtest x y => result

int64-logxor x y => int64

Arguments
An int64 object or an integer of type (signed-byte 64).
An int64 object or an integer of type (signed-byte 64).
index
An int64 object or an integer of type (signed-byte 64).
Values
int64
An int64 object.
result
An boolean.
Description

The function int64-logand is the bitwise logical 'and' operator for int64 objects.

The function int64-logandc1 is the bitwise logical operator for int64 objects which 'ands' the complement of x with y.

The function int64-logandc2 is the bitwise logical operator for int64 objects which 'ands' x with the complement of y.

The function int64-logbitp is the test for int64 objects which returns t if if the bit at index index in x is 1, and nil if it is 0.

The function int64-logeqv is the bitwise logical operator for int64 objects which returns the complement of the 'exclusive or' of x and y.

The function int64-logior is the bitwise logical 'inclusive or' operator for int64 objects.

The function int64-lognand is the bitwise logical operator for int64 objects which returns the complement of the 'and' of x and y.

The function int64-lognor is the bitwise logical operator for int64 objects which returns the complement of the 'inclusive or' of x and y.

The function int64-lognot is the bitwise logical operator for int64 objects which returns the complement of its argument x.

The function int64-logorc1 is the bitwise logical operator for int64 objects which 'inclusive ors' the complement of x with y.

The function int64-logorc2 is the bitwise logical operator for int64 objects which 'inclusive ors' x with the complement of y.

The function int64-logtest is the bitwise test for int64 objects which returns t if any of the bits designated by 1 in x is 1 in y, and returns nil otherwise.

The function int64-logxor is the bitwise logical 'exclusive or' operator for int64 objects.

See the section 28.2.3 Fast 64-bit arithmetic for more information about the INT64 API.

See also

int64


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:31:02