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.

3 <strong>zl</strong>:+$<br />

I<br />

<strong>zl</strong>:+$ &rest args Function<br />

Returns the sum of its arguments. If there are no arguments, it returns 0,<br />

which is the identity for this operation.<br />

The following functions are synonyms of <strong>zl</strong>:+$ :<br />

<strong>zl</strong>:plus<br />

+<br />

number &rest more-numbers<br />

Function<br />

With only one argument, - returns the negative of its argument. With<br />

more than one argument, - returns its first argument minus all of the rest<br />

of its arguments.<br />

If the arguments are of different numeric types they are converted to a<br />

common type, which is also the type of the result. See the section<br />

II Coercion Rules for Numbers II in Symbolics Common Lisp: Language Concepts.<br />

Examples:<br />

(- 8) => -8<br />

(- 9 3) => 6<br />

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

(- #C(3 4) 4) => #C(-1 4)<br />

(- 9 5/6) => 49/6<br />

The following function is a synonym of - :<br />

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

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

Symbolics Common Lisp: Language Concepts.<br />

<strong>zl</strong>:-$ arg &rest args Function<br />

With only one argument, z1:-$ returns the negative of its argument. With<br />

more than one argument, <strong>zl</strong>:-$ returns its first argument minus all of the<br />

rest of its arguments.<br />

The following function is a synonym of <strong>zl</strong>:-$ :<br />

/ number &rest more-numbers Function<br />

With more than one argument / successively divides the first argument by<br />

all the others and returns the result. With one argument, / returns the<br />

reciprocal of the argument: (I x) is the same as (/ 1 x). Arguments can be<br />

of any numeric type; the rules of coe;rcion are applied to arguments of dissimilar<br />

numeric types.

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

Saved successfully!

Ooh no, something went wrong!