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

NextPrevUpTopContentsIndex

int32-logand

int32-logandc1

int32-logandc2

int32-logbitp

int32-logeqv

int32-logior

int32-lognand

int32-lognor

int32-lognot

int32-logorc1

int32-logorc2

int32-logtest

int32-logxor

Functions
Summary

The bitwise logical operators for int32 objects.

Package

system

Signatures

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

Arguments

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).

Values

int32

An int32 object.

result

An boolean.

Description

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 Fast 32-bit arithmetic for more information about the INT32 API.

See also

int32


LispWorks User Guide and Reference Manual - 13 Feb 2015

NextPrevUpTopContentsIndex