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.

309<br />

long-float-epsilon<br />

I<br />

(typep ede 'long-float) => T<br />

(subtypep 'long-float 'double-float)<br />

=> T and T ;subtype and certain<br />

(commonp 1.5d9) => T<br />

(equal-typep 'long-float 'double-float) => T<br />

(sys:double-float-p 1.5d9) => T<br />

See the section "Data Types and Type Specifiers" in Symbolics Common<br />

Lisp: Language Concepts.<br />

See the section "Numbers" in Symbolics Common Lisp: Language Concepts.<br />

long-float-epsilon<br />

Constant<br />

The value of this constant is the smallest positive floating-point number e<br />

of a format such that it satisfies the expression:<br />

(not (= (float 1 e) (+ (float 1 e) e»)<br />

In Symbolics Common Lisp long-float-epsilon has the same value as<br />

double-float-epsilon, namely: 1.1102230246251568d-16.<br />

long-float-negative-epsilon<br />

Constant<br />

The value of this constant is the smallest positive floating-point number e<br />

of a format such that it satisfies the expression:<br />

(not (= (float 1 e) (- (float 1 e) e»)<br />

In Symbolics Common Lisp the value of long-float-negative-epsilon is the<br />

same as that of double-float-negative-epsilon, namely:<br />

5.551115123125784d-17.<br />

loop &rest forms Macro<br />

loop is a Lisp macro that provides a programmable iteration facility. The<br />

Symbolics Common Lisp implementation of loop is an extension of the<br />

Common Lisp specification for this macro in Guy L. Steele's Common Lisp:<br />

the Language. loop works identically in Symbolics Common Lisp and in<br />

Zetalisp.<br />

The general approach is that a form introduced by the word loop generates<br />

a single program loop, into which a large variety of features can be incorporated.<br />

The loop consists of some initialization (prologue) code, a body<br />

that can be executed several times, and some exit (epilogue) code. Variables<br />

can be declared local to the loop. The features are concerned with<br />

loop variables, deciding when to end the iteration, putting user-written code<br />

into the loop, returning a value from the construct, and iterating a variable<br />

through various real or virtual sets of values.

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

Saved successfully!

Ooh no, something went wrong!