17.05.2015 Views

zl:1 - FTP

zl:1 - FTP

zl:1 - FTP

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

213<br />

<strong>zl</strong>:expt<br />

(expt 2 3) => 8<br />

(expt .5 3) => a.125<br />

(expt -49 1/2) => #c(a 7)<br />

(expt 1/2 -2) => 4<br />

(expt 2. a) => 1<br />

(expt a 56) => a<br />

(expt a 3/2) => a<br />

(expt a.a 5) => a.a<br />

(expt a.a #c(3 4)) => a.a<br />

(expt #c(a 7) 2) => -49<br />

;the principal value<br />

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

Symbolics Common Lisp: Language Concepts.<br />

<strong>zl</strong>:expt num expt Function<br />

Returns num raised to the exptth power. The result is an integer if both<br />

arguments are integers (even if expt is negativeD and floating-point if either<br />

num or expt or both is floating-point. If the exponent is an integer a<br />

repeated-squaring algorithm is used, while if the exponent is floating the<br />

result is (exp (* expt (log num))).<br />

The following functions are sYnonyms of <strong>zl</strong>:expt:<br />

<strong>zl</strong>:"<br />

<strong>zl</strong>:"$<br />

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

Symbolics Common Lisp: Language Concepts.<br />

sys:external-symbol-not-found<br />

Flavor<br />

A ":" qualified name referenced a name that had not been exported from<br />

the specified package.<br />

The :string message returns the name being referenced (no symbol by this<br />

name exists yet). The :package message returns the package.<br />

The :export proceed type exports a symbol by that name and uses it.<br />

I

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

Saved successfully!

Ooh no, something went wrong!