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.

303 logand<br />

I<br />

(<strong>zl</strong>:log 2) => 9.6931472<br />

For a table of related items: See the section "Powers Of e and Log<br />

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

logand &rest integers Function<br />

Returns the bit-wise logical and of its arguments. If no argument is given<br />

the result is -1, which is an identity for this operation.<br />

Examples:<br />

(logand) => -1<br />

(logand 8) => 8<br />

(logand 9 15) => 9<br />

(logand 9 15 12) => 8<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 />

<strong>zl</strong>:logand number &rest more-numbers Function<br />

Returns the bit-wise logical and of its arguments. At least one argument<br />

is required. Examples:<br />

(<strong>zl</strong> :logand #03456 #0797) => #0496<br />

(<strong>zl</strong> :logand #03456 #0-199) => #03499<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 />

logandcl integerl integer2 Function<br />

logandcl is a non-associative bit-wise logical operation and takes exactly<br />

two arguments. It returns the bit-wise logical and of the complement of<br />

integerl with integer2.<br />

Examples:<br />

(10gandc1 15 8) => 9<br />

(10gandc1 8 15) => 7<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!