17.05.2015 Views

zl:1 - FTP

zl:1 - FTP

zl:1 - FTP

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

305 logeqv<br />

I<br />

sys:%logdpb is good for manipulating flXIlum bit-masks such as are used in<br />

some internal system tables and data structures.<br />

The behavior of sys:%logdpb depends on the size of flXIlums, so functions<br />

using it might not work the same way on future implementations of Symbolics<br />

Common Lisp. Its name starts with "%" because it is more like<br />

machine-level subprimitives than other byte manipulation functions.<br />

For a table of related items: See the section "Machine-dependent Arithmetic<br />

Functions" in Symbolics Common Lisp: Language Concepts.<br />

logeqv &rest integers Function<br />

Returns the bit-wise logical equivalence (also known as exclusive nor) of its<br />

arguments. If no argument is given, the result is -1, which is an identity<br />

for this operation.<br />

Examples:<br />

(logeqv) => -1<br />

(logeqv 5) => 5<br />

(logeqv -3 4) => 6 ;-3 is #b11191 and 4 is #b99199<br />

(logeqv 9 2) => -12<br />

(logeqv -3 4 9 2) => 13 ; (logeqv 6 -12) => 13<br />

See the function boole, page 54.<br />

For a table of related items: See the section "Functions Returning Result<br />

of Bit-wise Logical Operations" in Symbolics Common Lisp: Language Concepts.<br />

logior &rest integers Function<br />

Returns the bit-wise logical inclusive or of its arguments.<br />

If no argument is given, the result is zero. This is an identity for this<br />

operation.<br />

Examples:<br />

(logior) => 9<br />

(logior -5) => -5<br />

(logior 3 19) => 11<br />

(logior 4 8 2) => 14<br />

See the function boole, page 54.<br />

For a table of related items: See the section "Functions Returning Result<br />

of Bit-wise Logical Operations" in Symbolics Common Lisp: Language Concepts.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!