Debian Codegraph @

info/gcl-si/Numbers.html

raw symbols ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <html>
3 <!-- Created by GNU Texinfo 6.7, http://www.gnu.org/software/texinfo/ -->
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6 <title>Numbers (GCL SI Manual)</title>
7
8 <meta name="description" content="Numbers (GCL SI Manual)">
9 <meta name="keywords" content="Numbers (GCL SI Manual)">
10 <meta name="resource-type" content="document">
11 <meta name="distribution" content="global">
12 <meta name="Generator" content="makeinfo">
13 <link href="index.html" rel="start" title="Top">
14 <link href="Function-and-Variable-Index.html" rel="index" title="Function and Variable Index">
15 <link href="Function-and-Variable-Index.html#SEC_Contents" rel="contents" title="Table of Contents">
16 <link href="index.html" rel="up" title="Top">
17 <link href="Sequences-and-Arrays-and-Hash-Tables.html" rel="next" title="Sequences and Arrays and Hash Tables">
18 <link href="index.html" rel="prev" title="Top">
19 <style type="text/css">
20 <!--
21 a.summary-letter {text-decoration: none}
22 blockquote.indentedblock {margin-right: 0em}
23 div.display {margin-left: 3.2em}
24 div.example {margin-left: 3.2em}
25 div.lisp {margin-left: 3.2em}
26 kbd {font-style: oblique}
27 pre.display {font-family: inherit}
28 pre.format {font-family: inherit}
29 pre.menu-comment {font-family: serif}
30 pre.menu-preformatted {font-family: serif}
31 span.nolinebreak {white-space: nowrap}
32 span.roman {font-family: initial; font-weight: normal}
33 span.sansserif {font-family: sans-serif; font-weight: normal}
34 ul.no-bullet {list-style: none}
35 -->
36 </style>
37
38
39 </head>
40
41 <body lang="en">
42 <span id="Numbers"></span><div class="header">
43 <p>
44 Next: <a href="Sequences-and-Arrays-and-Hash-Tables.html" accesskey="n" rel="next">Sequences and Arrays and Hash Tables</a>, Previous: <a href="index.html" accesskey="p" rel="prev">Top</a>, Up: <a href="index.html" accesskey="u" rel="up">Top</a> &nbsp; [<a href="Function-and-Variable-Index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Function-and-Variable-Index.html" title="Index" rel="index">Index</a>]</p>
45 </div>
46 <hr>
47 <span id="Numbers-1"></span><h2 class="chapter">1 Numbers</h2>
48
49
50 <dl>
51 <dt id="index-SIGNUM">Function: <strong>SIGNUM</strong> <em>(number)</em></dt>
52 <dd><p>Package:LISP
53 </p>
54 <p>If NUMBER is zero, returns NUMBER; else returns (/ NUMBER (ABS NUMBER)).
55 </p>
56
57 </dd></dl>
58
59 <dl>
60 <dt id="index-LOGNOT">Function: <strong>LOGNOT</strong> <em>(integer)</em></dt>
61 <dd><p>Package:LISP
62 </p>
63 <p>Returns the bit-wise logical NOT of INTEGER.
64 </p>
65
66 </dd></dl>
67
68 <dl>
69 <dt id="index-MOST_002dPOSITIVE_002dSHORT_002dFLOAT">Constant: <strong>MOST-POSITIVE-SHORT-FLOAT</strong></dt>
70 <dd><p>Package:LISP
71 The short-float closest in value to positive infinity.
72 </p>
73
74 </dd></dl>
75
76 <dl>
77 <dt id="index-INTEGER_002dDECODE_002dFLOAT">Function: <strong>INTEGER-DECODE-FLOAT</strong> <em>(float)</em></dt>
78 <dd><p>Package:LISP
79 </p>
80 <p>Returns, as three values, the integer interpretation of significand F,
81 the exponent E, and the sign S of the given float, so that
82 E
83 FLOAT = S * F * B where B = (FLOAT-RADIX FLOAT)
84 </p>
85 <p>F is a non-negative integer, E is an integer, and S is either 1 or -1.
86 </p>
87
88 </dd></dl>
89
90 <dl>
91 <dt id="index-MINUSP">Function: <strong>MINUSP</strong> <em>(number)</em></dt>
92 <dd><p>Package:LISP
93 </p>
94 <p>Returns T if NUMBER &lt; 0; NIL otherwise.
95 </p>
96
97 </dd></dl>
98
99 <dl>
100 <dt id="index-LOGORC1">Function: <strong>LOGORC1</strong> <em>(integer1 integer2)</em></dt>
101 <dd><p>Package:LISP
102 </p>
103 <p>Returns the logical OR of (LOGNOT INTEGER1) and INTEGER2.
104 </p>
105
106 </dd></dl>
107
108 <dl>
109 <dt id="index-MOST_002dNEGATIVE_002dSINGLE_002dFLOAT">Constant: <strong>MOST-NEGATIVE-SINGLE-FLOAT</strong></dt>
110 <dd><p>Package:LISP
111 Same as MOST-NEGATIVE-LONG-FLOAT.
112 </p>
113
114 </dd></dl>
115
116 <dl>
117 <dt id="index-BOOLE_002dC1">Constant: <strong>BOOLE-C1</strong></dt>
118 <dd><p>Package:LISP
119 Makes BOOLE return the complement of INTEGER1.
120 </p>
121
122 </dd></dl>
123
124 <dl>
125 <dt id="index-LEAST_002dPOSITIVE_002dSHORT_002dFLOAT">Constant: <strong>LEAST-POSITIVE-SHORT-FLOAT</strong></dt>
126 <dd><p>Package:LISP
127 The positive short-float closest in value to zero.
128 </p>
129
130 </dd></dl>
131
132 <dl>
133 <dt id="index-BIT_002dNAND">Function: <strong>BIT-NAND</strong> <em>(bit-array1 bit-array2 &amp;optional (result-bit-array nil))</em></dt>
134 <dd><p>Package:LISP
135 </p>
136 <p>Performs a bit-wise logical NAND on the elements of BIT-ARRAY1 and
137 BIT-ARRAY2.
138 Puts the results into a new bit array if RESULT-BIT-ARRAY is NIL, into
139 BIT-ARRAY1 if RESULT-BIT-ARRAY is T, or into RESULT-BIT-ARRAY otherwise.
140 </p>
141 </dd></dl>
142
143 <dl>
144 <dt id="index-INT_002dCHAR">Function: <strong>INT-CHAR</strong> <em>(integer)</em></dt>
145 <dd><p>Package:LISP
146 </p>
147 <p>Performs the inverse of CHAR-INT. Equivalent to CODE-CHAR in GCL.
148 </p>
149
150 </dd></dl>
151
152 <dl>
153 <dt id="index-CHAR_002dINT">Function: <strong>CHAR-INT</strong> <em>(char)</em></dt>
154 <dd><p>Package:LISP
155 </p>
156 <p>Returns the font, bits, and code attributes as a single non-negative integer.
157 Equivalent to CHAR-CODE in GCL.
158 </p>
159
160 </dd></dl>
161
162 <dl>
163 <dt id="index-LEAST_002dNEGATIVE_002dSINGLE_002dFLOAT">Constant: <strong>LEAST-NEGATIVE-SINGLE-FLOAT</strong></dt>
164 <dd><p>Package:LISP
165 Same as LEAST-NEGATIVE-LONG-FLOAT.
166 </p>
167
168 </dd></dl>
169
170 <dl>
171 <dt id="index-_002f_003d">Function: <strong>/=</strong> <em>(number &amp;rest more-numbers)</em></dt>
172 <dd><p>Package:LISP
173 </p>
174 <p>Returns T if no two of its arguments are numerically equal; NIL otherwise.
175 </p>
176
177 </dd></dl>
178
179 <dl>
180 <dt id="index-LDB_002dTEST">Function: <strong>LDB-TEST</strong> <em>(bytespec integer)</em></dt>
181 <dd><p>Package:LISP
182 </p>
183 <p>Returns T if at least one of the bits in the specified bytes of INTEGER is 1;
184 NIL otherwise.
185 </p>
186
187 </dd></dl>
188
189 <dl>
190 <dt id="index-CHAR_002dCODE_002dLIMIT">Constant: <strong>CHAR-CODE-LIMIT</strong></dt>
191 <dd><p>Package:LISP
192 The upper exclusive bound on values produced by CHAR-CODE.
193 </p>
194
195 </dd></dl>
196
197 <dl>
198 <dt id="index-RATIONAL">Function: <strong>RATIONAL</strong> <em>(number)</em></dt>
199 <dd><p>Package:LISP
200 </p>
201 <p>Converts NUMBER into rational accurately and returns it.
202 </p>
203
204 </dd></dl>
205
206 <dl>
207 <dt id="index-PI">Constant: <strong>PI</strong></dt>
208 <dd><p>Package:LISP
209 The floating-point number that is appropriately equal to the ratio of the
210 circumference of the circle to the diameter.
211 </p>
212
213 </dd></dl>
214
215 <dl>
216 <dt id="index-SIN">Function: <strong>SIN</strong> <em>(radians)</em></dt>
217 <dd><p>Package:LISP
218 </p>
219 <p>Returns the sine of RADIANS.
220 </p>
221
222 </dd></dl>
223
224 <dl>
225 <dt id="index-BOOLE_002dORC2">Constant: <strong>BOOLE-ORC2</strong></dt>
226 <dd><p>Package:LISP
227 Makes BOOLE return LOGORC2 of INTEGER1 and INTEGER2.
228 </p>
229
230 </dd></dl>
231
232 <dl>
233 <dt id="index-NUMERATOR">Function: <strong>NUMERATOR</strong> <em>(rational)</em></dt>
234 <dd><p>Package:LISP
235 </p>
236 <p>Returns as an integer the numerator of the given rational number.
237 </p>
238
239 </dd></dl>
240
241 <dl>
242 <dt id="index-MASK_002dFIELD">Function: <strong>MASK-FIELD</strong> <em>(bytespec integer)</em></dt>
243 <dd><p>Package:LISP
244 </p>
245 <p>Extracts the specified byte from INTEGER.
246 </p>
247
248 </dd></dl>
249
250 <dl>
251 <dt id="index-INCF">Special Form: <strong>INCF</strong></dt>
252 <dd><p>Package:LISP
253 </p>
254 <p>Syntax:
255 </p><div class="example">
256 <pre class="example">(incf place [delta])
257 </pre></div>
258
259 <p>Adds the number produced by DELTA (which defaults to 1) to the number
260 in PLACE.
261 </p>
262
263 </dd></dl>
264
265 <dl>
266 <dt id="index-SINH">Function: <strong>SINH</strong> <em>(number)</em></dt>
267 <dd><p>Package:LISP
268 </p>
269 <p>Returns the hyperbolic sine of NUMBER.
270 </p>
271
272 </dd></dl>
273
274 <dl>
275 <dt id="index-PHASE">Function: <strong>PHASE</strong> <em>(number)</em></dt>
276 <dd><p>Package:LISP
277 </p>
278 <p>Returns the angle part of the polar representation of a complex number.
279 For non-complex numbers, this is 0.
280 </p>
281
282 </dd></dl>
283
284 <dl>
285 <dt id="index-BOOLE">Function: <strong>BOOLE</strong> <em>(op integer1 integer2)</em></dt>
286 <dd><p>Package:LISP
287 </p>
288 <p>Returns an integer produced by performing the logical operation specified by
289 OP on the two integers. OP must be the value of one of the following
290 constants:
291 BOOLE-CLR BOOLE-C1 BOOLE-XOR BOOLE-ANDC1
292 BOOLE-SET BOOLE-C2 BOOLE-EQV BOOLE-ANDC2
293 BOOLE-1 BOOLE-AND BOOLE-NAND BOOLE-ORC1
294 BOOLE-2 BOOLE-IOR BOOLE-NOR BOOLE-ORC2
295 See the variable docs of these constants for their operations.
296 </p>
297
298 </dd></dl>
299
300 <dl>
301 <dt id="index-SHORT_002dFLOAT_002dEPSILON">Constant: <strong>SHORT-FLOAT-EPSILON</strong></dt>
302 <dd><p>Package:LISP
303 The smallest positive short-float that satisfies
304 (not (= (float 1 e) (+ (float 1 e) e))).
305 </p>
306
307 </dd></dl>
308
309 <dl>
310 <dt id="index-LOGORC2">Function: <strong>LOGORC2</strong> <em>(integer1 integer2)</em></dt>
311 <dd><p>Package:LISP
312 </p>
313 <p>Returns the logical OR of INTEGER1 and (LOGNOT INTEGER2).
314 </p>
315
316 </dd></dl>
317
318 <dl>
319 <dt id="index-BOOLE_002dC2">Constant: <strong>BOOLE-C2</strong></dt>
320 <dd><p>Package:LISP
321 Makes BOOLE return the complement of INTEGER2.
322 </p>
323
324 </dd></dl>
325
326 <dl>
327 <dt id="index-REALPART">Function: <strong>REALPART</strong> <em>(number)</em></dt>
328 <dd><p>Package:LISP
329 </p>
330 <p>Extracts the real part of NUMBER.
331 </p>
332
333 </dd></dl>
334
335
336 <dl>
337 <dt id="index-BOOLE_002dCLR">Constant: <strong>BOOLE-CLR</strong></dt>
338 <dd><p>Package:LISP
339 Makes BOOLE return 0.
340 </p>
341
342 </dd></dl>
343
344 <dl>
345 <dt id="index-BOOLE_002dIOR">Constant: <strong>BOOLE-IOR</strong></dt>
346 <dd><p>Package:LISP
347 Makes BOOLE return LOGIOR of INTEGER1 and INTEGER2.
348 </p>
349
350 </dd></dl>
351
352 <dl>
353 <dt id="index-FTRUNCATE">Function: <strong>FTRUNCATE</strong> <em>(number &amp;optional (divisor 1))</em></dt>
354 <dd><p>Package:LISP
355 </p>
356 <p>Values: (quotient remainder)
357 Same as TRUNCATE, but returns first value as a float.
358 </p>
359
360 </dd></dl>
361
362 <dl>
363 <dt id="index-EQL">Function: <strong>EQL</strong> <em>(x y)</em></dt>
364 <dd><p>Package:LISP
365 </p>
366 <p>Returns T if X and Y are EQ, or if they are numbers of the same type with
367 the same value, or if they are character objects that represent the same
368 character. Returns NIL otherwise.
369 </p>
370
371 </dd></dl>
372
373 <dl>
374 <dt id="index-LOG">Function: <strong>LOG</strong> <em>(number &amp;optional base)</em></dt>
375 <dd><p>Package:LISP
376 </p>
377 <p>Returns the logarithm of NUMBER in the base BASE. BASE defaults to the base
378 of natural logarithms.
379 </p>
380
381 </dd></dl>
382
383 <dl>
384 <dt id="index-DOUBLE_002dFLOAT_002dNEGATIVE_002dEPSILON">Constant: <strong>DOUBLE-FLOAT-NEGATIVE-EPSILON</strong></dt>
385 <dd><p>Package:LISP
386 Same as LONG-FLOAT-NEGATIVE-EPSILON.
387 </p>
388
389 </dd></dl>
390
391 <dl>
392 <dt id="index-LOGIOR">Function: <strong>LOGIOR</strong> <em>(&amp;rest integers)</em></dt>
393 <dd><p>Package:LISP
394 </p>
395 <p>Returns the bit-wise INCLUSIVE OR of its arguments.
396 </p>
397
398 </dd></dl>
399
400 <dl>
401 <dt id="index-MOST_002dNEGATIVE_002dDOUBLE_002dFLOAT">Constant: <strong>MOST-NEGATIVE-DOUBLE-FLOAT</strong></dt>
402 <dd><p>Package:LISP
403 Same as MOST-NEGATIVE-LONG-FLOAT.
404 </p>
405
406 </dd></dl>
407
408 <dl>
409 <dt id="index-_002f">Function: <strong>/</strong> <em>(number &amp;rest more-numbers)</em></dt>
410 <dd><p>Package:LISP
411 </p>
412 <p>Divides the first NUMBER by each of the subsequent NUMBERS.
413 With one arg, returns the reciprocal of the number.
414 </p>
415
416 </dd></dl>
417
418 <dl>
419 <dt id="index-_002aRANDOM_002dSTATE_002a">Variable: <strong>*RANDOM-STATE*</strong></dt>
420 <dd><p>Package:LISP
421 The default random-state object used by RAMDOM.
422 </p>
423
424 </dd></dl>
425
426 <dl>
427 <dt id="index-1_002b">Function: <strong>1+</strong> <em>(number)</em></dt>
428 <dd><p>Package:LISP
429 </p>
430 <p>Returns NUMBER + 1.
431 </p>
432
433 </dd></dl>
434
435 <dl>
436 <dt id="index-LEAST_002dNEGATIVE_002dDOUBLE_002dFLOAT">Constant: <strong>LEAST-NEGATIVE-DOUBLE-FLOAT</strong></dt>
437 <dd><p>Package:LISP
438 Same as LEAST-NEGATIVE-LONG-FLOAT.
439 </p>
440
441 </dd></dl>
442
443 <dl>
444 <dt id="index-FCEILING">Function: <strong>FCEILING</strong> <em>(number &amp;optional (divisor 1))</em></dt>
445 <dd><p>Package:LISP
446 </p>
447 <p>Same as CEILING, but returns a float as the first value.
448 </p>
449
450 </dd></dl>
451
452 <dl>
453 <dt id="index-MOST_002dPOSITIVE_002dFIXNUM">Constant: <strong>MOST-POSITIVE-FIXNUM</strong></dt>
454 <dd><p>Package:LISP
455 The fixnum closest in value to positive infinity.
456 </p>
457
458 </dd></dl>
459
460 <dl>
461 <dt id="index-BIT_002dANDC1">Function: <strong>BIT-ANDC1</strong> <em>(bit-array1 bit-array2 &amp;optional (result-bit-array nil))</em></dt>
462 <dd><p>Package:LISP
463 </p>
464 <p>Performs a bit-wise logical ANDC1 on the elements of BIT-ARRAY1 and
465 BIT-ARRAY2.
466 Puts the results into a new bit array if RESULT-BIT-ARRAY is NIL, into
467 BIT-ARRAY1 if RESULT-BIT-ARRAY is T, or into RESULT-BIT-ARRAY otherwise.
468 </p>
469
470 </dd></dl>
471
472 <dl>
473 <dt id="index-TAN">Function: <strong>TAN</strong> <em>(radians)</em></dt>
474 <dd><p>Package:LISP
475 </p>
476 <p>Returns the tangent of RADIANS.
477 </p>
478
479 </dd></dl>
480
481 <dl>
482 <dt id="index-BOOLE_002dNAND">Constant: <strong>BOOLE-NAND</strong></dt>
483 <dd><p>Package:LISP
484 Makes BOOLE return LOGNAND of INTEGER1 and INTEGER2.
485 </p>
486
487 </dd></dl>
488
489 <dl>
490 <dt id="index-TANH">Function: <strong>TANH</strong> <em>(number)</em></dt>
491 <dd><p>Package:LISP
492 </p>
493 <p>Returns the hyperbolic tangent of NUMBER.
494 </p>
495
496 </dd></dl>
497
498 <dl>
499 <dt id="index-ASIN">Function: <strong>ASIN</strong> <em>(number)</em></dt>
500 <dd><p>Package:LISP
501 </p>
502 <p>Returns the arc sine of NUMBER.
503 </p>
504
505 </dd></dl>
506
507 <dl>
508 <dt id="index-BYTE">Function: <strong>BYTE</strong> <em>(size position)</em></dt>
509 <dd><p>Package:LISP
510 </p>
511 <p>Returns a byte specifier. In GCL, a byte specifier is represented by
512 a dotted pair (&lt;size&gt; . &lt;position&gt;).
513 </p>
514
515 </dd></dl>
516
517 <dl>
518 <dt id="index-ASINH">Function: <strong>ASINH</strong> <em>(number)</em></dt>
519 <dd><p>Package:LISP
520 </p>
521 <p>Returns the hyperbolic arc sine of NUMBER.
522 </p>
523
524 </dd></dl>
525
526 <dl>
527 <dt id="index-MOST_002dPOSITIVE_002dLONG_002dFLOAT">Constant: <strong>MOST-POSITIVE-LONG-FLOAT</strong></dt>
528 <dd><p>Package:LISP
529 The long-float closest in value to positive infinity.
530 </p>
531
532 </dd></dl>
533
534 <dl>
535 <dt id="index-SHIFTF">Macro: <strong>SHIFTF</strong></dt>
536 <dd><p>Package:LISP
537 </p>
538 <p>Syntax:
539 </p><div class="example">
540 <pre class="example">(shiftf {place}+ newvalue)
541 </pre></div>
542
543 <p>Evaluates all PLACEs and NEWVALUE in turn, then assigns the value of each
544 form to the PLACE on its left. Returns the original value of the leftmost
545 form.
546 </p>
547
548 </dd></dl>
549
550 <dl>
551 <dt id="index-LEAST_002dPOSITIVE_002dLONG_002dFLOAT">Constant: <strong>LEAST-POSITIVE-LONG-FLOAT</strong></dt>
552 <dd><p>Package:LISP
553 The positive long-float closest in value to zero.
554 </p>
555
556 </dd></dl>
557
558 <dl>
559 <dt id="index-DEPOSIT_002dFIELD">Function: <strong>DEPOSIT-FIELD</strong> <em>(newbyte bytespec integer)</em></dt>
560 <dd><p>Package:LISP
561 </p>
562 <p>Returns an integer computed by replacing the specified byte of INTEGER with
563 the specified byte of NEWBYTE.
564 </p>
565
566 </dd></dl>
567
568 <dl>
569 <dt id="index-BIT_002dAND">Function: <strong>BIT-AND</strong> <em>(bit-array1 bit-array2 &amp;optional (result-bit-array nil))</em></dt>
570 <dd><p>Package:LISP
571 </p>
572 <p>Performs a bit-wise logical AND on the elements of BIT-ARRAY1 and BIT-ARRAY2.
573 Puts the results into a new bit array if RESULT-BIT-ARRAY is NIL, into
574 BIT-ARRAY1 if RESULT-BIT-ARRAY is T, or into RESULT-BIT-ARRAY otherwise.
575 </p>
576
577 </dd></dl>
578
579 <dl>
580 <dt id="index-LOGNAND">Function: <strong>LOGNAND</strong> <em>(integer1 integer2)</em></dt>
581 <dd><p>Package:LISP
582 </p>
583 <p>Returns the complement of the logical AND of INTEGER1 and INTEGER2.
584 </p>
585
586 </dd></dl>
587
588 <dl>
589 <dt id="index-BYTE_002dPOSITION">Function: <strong>BYTE-POSITION</strong> <em>(bytespec)</em></dt>
590 <dd><p>Package:LISP
591 </p>
592 <p>Returns the position part (in GCL, the cdr part) of the byte specifier.
593 </p>
594
595 </dd></dl>
596
597 <dl>
598 <dt id="index-ROTATEF">Macro: <strong>ROTATEF</strong></dt>
599 <dd><p>Package:LISP
600 </p>
601 <p>Syntax:
602 </p><div class="example">
603 <pre class="example">(rotatef {place}*)
604 </pre></div>
605
606 <p>Evaluates PLACEs in turn, then assigns to each PLACE the value of the form to
607 its right. The rightmost PLACE gets the value of the leftmost PLACE.
608 Returns NIL always.
609 </p>
610
611 </dd></dl>
612
613 <dl>
614 <dt id="index-BIT_002dANDC2">Function: <strong>BIT-ANDC2</strong> <em>(bit-array1 bit-array2 &amp;optional (result-bit-array nil))</em></dt>
615 <dd><p>Package:LISP
616 </p>
617 <p>Performs a bit-wise logical ANDC2 on the elements of BIT-ARRAY1 and
618 BIT-ARRAY2.
619 Puts the results into a new bit array if RESULT-BIT-ARRAY is NIL, into
620 BIT-ARRAY1 if RESULT-BIT-ARRAY is T, or into RESULT-BIT-ARRAY otherwise.
621 </p>
622
623 </dd></dl>
624
625 <dl>
626 <dt id="index-TRUNCATE">Function: <strong>TRUNCATE</strong> <em>(number &amp;optional (divisor 1))</em></dt>
627 <dd><p>Package:LISP
628 </p>
629 <p>Values: (quotient remainder)
630 Returns NUMBER/DIVISOR as an integer, rounded toward 0. The second returned
631 value is the remainder.
632 </p>
633
634 </dd></dl>
635
636 <dl>
637 <dt id="index-BOOLE_002dEQV">Constant: <strong>BOOLE-EQV</strong></dt>
638 <dd><p>Package:LISP
639 Makes BOOLE return LOGEQV of INTEGER1 and INTEGER2.
640 </p>
641
642 </dd></dl>
643
644 <dl>
645 <dt id="index-BOOLE_002dSET">Constant: <strong>BOOLE-SET</strong></dt>
646 <dd><p>Package:LISP
647 Makes BOOLE return -1.
648 </p>
649
650 </dd></dl>
651
652 <dl>
653 <dt id="index-LDB">Function: <strong>LDB</strong> <em>(bytespec integer)</em></dt>
654 <dd><p>Package:LISP
655 </p>
656 <p>Extracts and right-justifies the specified byte of INTEGER, and returns the
657 result.
658 </p>
659
660 </dd></dl>
661
662 <dl>
663 <dt id="index-BYTE_002dSIZE">Function: <strong>BYTE-SIZE</strong> <em>(bytespec)</em></dt>
664 <dd><p>Package:LISP
665 </p>
666 <p>Returns the size part (in GCL, the car part) of the byte specifier.
667 </p>
668
669 </dd></dl>
670
671 <dl>
672 <dt id="index-SHORT_002dFLOAT_002dNEGATIVE_002dEPSILON">Constant: <strong>SHORT-FLOAT-NEGATIVE-EPSILON</strong></dt>
673 <dd><p>Package:LISP
674 The smallest positive short-float that satisfies
675 (not (= (float 1 e) (- (float 1 e) e))).
676 </p>
677
678 </dd></dl>
679
680 <dl>
681 <dt id="index-REM">Function: <strong>REM</strong> <em>(number divisor)</em></dt>
682 <dd><p>Package:LISP
683 </p>
684 <p>Returns the second value of (TRUNCATE NUMBER DIVISOR).
685 </p>
686
687 </dd></dl>
688
689 <dl>
690 <dt id="index-MIN">Function: <strong>MIN</strong> <em>(number &amp;rest more-numbers)</em></dt>
691 <dd><p>Package:LISP
692 </p>
693 <p>Returns the least of its arguments.
694 </p>
695
696 </dd></dl>
697
698 <dl>
699 <dt id="index-EXP">Function: <strong>EXP</strong> <em>(number)</em></dt>
700 <dd><p>Package:LISP
701 </p>
702 <p>Calculates e raised to the power NUMBER, where e is the base of natural
703 logarithms.
704 </p>
705
706 </dd></dl>
707
708 <dl>
709 <dt id="index-DECODE_002dFLOAT">Function: <strong>DECODE-FLOAT</strong> <em>(float)</em></dt>
710 <dd><p>Package:LISP
711 </p>
712 <p>Returns, as three values, the significand F, the exponent E, and the sign S
713 of the given float, so that
714 E
715 FLOAT = S * F * B where B = (FLOAT-RADIX FLOAT)
716 </p>
717 <p>S and F are floating-point numbers of the same float format as FLOAT, and E
718 is an integer.
719 </p>
720
721
722 </dd></dl>
723
724 <dl>
725 <dt id="index-LONG_002dFLOAT_002dEPSILON">Constant: <strong>LONG-FLOAT-EPSILON</strong></dt>
726 <dd><p>Package:LISP
727 The smallest positive long-float that satisfies
728 (not (= (float 1 e) (+ (float 1 e) e))).
729 </p>
730
731 </dd></dl>
732
733 <dl>
734 <dt id="index-FROUND">Function: <strong>FROUND</strong> <em>(number &amp;optional (divisor 1))</em></dt>
735 <dd><p>Package:LISP
736 </p>
737 <p>Same as ROUND, but returns first value as a float.
738 </p>
739
740 </dd></dl>
741
742 <dl>
743 <dt id="index-LOGEQV">Function: <strong>LOGEQV</strong> <em>(&amp;rest integers)</em></dt>
744 <dd><p>Package:LISP
745 </p>
746 <p>Returns the bit-wise EQUIVALENCE of its arguments.
747 </p>
748
749 </dd></dl>
750
751 <dl>
752 <dt id="index-MOST_002dNEGATIVE_002dSHORT_002dFLOAT">Constant: <strong>MOST-NEGATIVE-SHORT-FLOAT</strong></dt>
753 <dd><p>Package:LISP
754 The short-float closest in value to negative infinity.
755 </p>
756
757 </dd></dl>
758
759 <dl>
760 <dt id="index-BIT_002dNOR">Function: <strong>BIT-NOR</strong> <em>(bit-array1 bit-array2 &amp;optional (result-bit-array nil))</em></dt>
761 <dd><p>Package:LISP
762 </p>
763 <p>Performs a bit-wise logical NOR on the elements of BIT-ARRAY1 and BIT-ARRAY2.
764 Puts the results into a new bit array if RESULT-BIT-ARRAY is NIL, into
765 BIT-ARRAY1 if RESULT-BIT-ARRAY is T, or into RESULT-BIT-ARRAY otherwise.
766 </p>
767
768 </dd></dl>
769
770 <dl>
771 <dt id="index-CEILING">Function: <strong>CEILING</strong> <em>(number &amp;optional (divisor 1))</em></dt>
772 <dd><p>Package:LISP
773 </p>
774 <p>Returns the smallest integer not less than or NUMBER/DIVISOR. Returns the
775 remainder as the second value.
776 </p>
777
778 </dd></dl>
779
780 <dl>
781 <dt id="index-LEAST_002dNEGATIVE_002dSHORT_002dFLOAT">Constant: <strong>LEAST-NEGATIVE-SHORT-FLOAT</strong></dt>
782 <dd><p>Package:LISP
783 The negative short-float closest in value to zero.
784 </p>
785
786 </dd></dl>
787
788 <dl>
789 <dt id="index-1_002d">Function: <strong>1-</strong> <em>(number)</em></dt>
790 <dd><p>Package:LISP
791 </p>
792 <p>Returns NUMBER - 1.
793 </p>
794
795 </dd></dl>
796
797 <dl>
798 <dt id="index-_003c_003d">Function: <strong>&lt;=</strong> <em>(number &amp;rest more-numbers)</em></dt>
799 <dd><p>Package:LISP
800 </p>
801 <p>Returns T if arguments are in strictly non-decreasing order; NIL otherwise.
802 </p>
803
804 </dd></dl>
805
806 <dl>
807 <dt id="index-IMAGPART">Function: <strong>IMAGPART</strong> <em>(number)</em></dt>
808 <dd><p>Package:LISP
809 </p>
810 <p>Extracts the imaginary part of NUMBER.
811 </p>
812
813 </dd></dl>
814
815 <dl>
816 <dt id="index-INTEGERP">Function: <strong>INTEGERP</strong> <em>(x)</em></dt>
817 <dd><p>Package:LISP
818 </p>
819 <p>Returns T if X is an integer (fixnum or bignum); NIL otherwise.
820 </p>
821
822 </dd></dl>
823
824 <dl>
825 <dt id="index-ASH">Function: <strong>ASH</strong> <em>(integer count)</em></dt>
826 <dd><p>Package:LISP
827 </p>
828 <p>Shifts INTEGER left by COUNT places. Shifts right if COUNT is negative.
829 </p>
830
831 </dd></dl>
832
833 <dl>
834 <dt id="index-LCM">Function: <strong>LCM</strong> <em>(integer &amp;rest more-integers)</em></dt>
835 <dd><p>Package:LISP
836 </p>
837 <p>Returns the least common multiple of the arguments.
838 </p>
839
840 </dd></dl>
841
842 <dl>
843 <dt id="index-COS">Function: <strong>COS</strong> <em>(radians)</em></dt>
844 <dd><p>Package:LISP
845 </p>
846 <p>Returns the cosine of RADIANS.
847 </p>
848
849 </dd></dl>
850
851 <dl>
852 <dt id="index-DECF">Special Form: <strong>DECF</strong></dt>
853 <dd><p>Package:LISP
854 </p>
855 <p>Syntax:
856 </p><div class="example">
857 <pre class="example">(decf place [delta])
858 </pre></div>
859 <p>Subtracts the number
860 produced by DELTA (which defaults to 1) from the number in
861 PLACE.
862 </p>
863
864 </dd></dl>
865
866 <dl>
867 <dt id="index-ATAN">Function: <strong>ATAN</strong> <em>(x &amp;optional (y 1))</em></dt>
868 <dd><p>Package:LISP
869 Returns the arc tangent of
870 X/Y.
871 </p>
872
873 </dd></dl>
874
875 <dl>
876 <dt id="index-BOOLE_002dANDC1">Constant: <strong>BOOLE-ANDC1</strong></dt>
877 <dd><p>Package:LISP
878 Makes BOOLE return LOGANDC1 of INTEGER1 and INTEGER2.
879 </p>
880
881 </dd></dl>
882
883 <dl>
884 <dt id="index-COSH">Function: <strong>COSH</strong> <em>(number)</em></dt>
885 <dd><p>Package:LISP
886 Returns the hyperbolic cosine of
887 NUMBER.
888 </p>
889
890 </dd></dl>
891
892 <dl>
893 <dt id="index-FLOAT_002dRADIX">Function: <strong>FLOAT-RADIX</strong> <em>(float)</em></dt>
894 <dd><p>Package:LISP
895 </p>
896 <p>Returns the representation radix (or base) of the floating-point
897 number.
898 </p>
899
900 </dd></dl>
901
902 <dl>
903 <dt id="index-ATANH">Function: <strong>ATANH</strong> <em>(number)</em></dt>
904 <dd><p>Package:LISP
905 </p>
906 <p>Returns the hyperbolic arc tangent of NUMBER.
907 </p>
908
909 </dd></dl>
910
911 <dl>
912 <dt id="index-EVENP">Function: <strong>EVENP</strong> <em>(integer)</em></dt>
913 <dd><p>Package:LISP
914 Returns T
915 if INTEGER is even. Returns NIL if INTEGER is odd.
916 </p>
917
918 </dd></dl>
919
920 <dl>
921 <dt id="index-ZEROP">Function: <strong>ZEROP</strong> <em>(number)</em></dt>
922 <dd><p>Package:LISP
923 Returns T if NUMBER = 0; NIL
924 otherwise.
925 </p>
926
927 </dd></dl>
928
929 <dl>
930 <dt id="index-FLOATP">Function: <strong>FLOATP</strong> <em>(x)</em></dt>
931 <dd><p>Package:LISP
932 </p>
933 <p>Returns T if X is a floating-point number; NIL otherwise.
934 </p>
935
936 </dd></dl>
937
938 <dl>
939 <dt id="index-SXHASH">Function: <strong>SXHASH</strong> <em>(object)</em></dt>
940 <dd><p>Package:LISP
941 </p>
942 <p>Computes a hash code for OBJECT and returns it as an integer.
943 </p>
944
945 </dd></dl>
946
947 <dl>
948 <dt id="index-BOOLE_002d1">Constant: <strong>BOOLE-1</strong></dt>
949 <dd><p>Package:LISP
950 Makes BOOLE return INTEGER1.
951 </p>
952
953 </dd></dl>
954
955 <dl>
956 <dt id="index-MOST_002dPOSITIVE_002dSINGLE_002dFLOAT">Constant: <strong>MOST-POSITIVE-SINGLE-FLOAT</strong></dt>
957 <dd><p>Package:LISP
958 Same as MOST-POSITIVE-LONG-FLOAT.
959 </p>
960
961 </dd></dl>
962
963 <dl>
964 <dt id="index-LOGANDC1">Function: <strong>LOGANDC1</strong> <em>(integer1 integer2)</em></dt>
965 <dd><p>Package:LISP
966 </p>
967 <p>Returns the logical AND of (LOGNOT INTEGER1) and INTEGER2.
968 </p>
969
970 </dd></dl>
971
972 <dl>
973 <dt id="index-LEAST_002dPOSITIVE_002dSINGLE_002dFLOAT">Constant: <strong>LEAST-POSITIVE-SINGLE-FLOAT</strong></dt>
974 <dd><p>Package:LISP
975 Same as LEAST-POSITIVE-LONG-FLOAT.
976 </p>
977
978 </dd></dl>
979
980 <dl>
981 <dt id="index-COMPLEXP">Function: <strong>COMPLEXP</strong> <em>(x)</em></dt>
982 <dd><p>Package:LISP
983 </p>
984 <p>Returns T if X is a complex number; NIL otherwise.
985 </p>
986
987 </dd></dl>
988
989 <dl>
990 <dt id="index-BOOLE_002dAND">Constant: <strong>BOOLE-AND</strong></dt>
991 <dd><p>Package:LISP
992 Makes BOOLE return LOGAND of INTEGER1 and INTEGER2.
993 </p>
994
995 </dd></dl>
996
997 <dl>
998 <dt id="index-MAX">Function: <strong>MAX</strong> <em>(number &amp;rest more-numbers)</em></dt>
999 <dd><p>Package:LISP
1000 </p>
1001 <p>Returns the greatest of its arguments.
1002 </p>
1003
1004 </dd></dl>
1005
1006 <dl>
1007 <dt id="index-FLOAT_002dSIGN">Function: <strong>FLOAT-SIGN</strong> <em>(float1 &amp;optional (float2 (float 1 float1)))</em></dt>
1008 <dd><p>Package:LISP
1009 </p>
1010 <p>Returns a floating-point number with the same sign as FLOAT1 and with the
1011 same absolute value as FLOAT2.
1012 </p>
1013
1014 </dd></dl>
1015
1016 <dl>
1017 <dt id="index-BOOLE_002dANDC2">Constant: <strong>BOOLE-ANDC2</strong></dt>
1018 <dd><p>Package:LISP
1019 Makes BOOLE return LOGANDC2 of INTEGER1 and INTEGER2.
1020 </p>
1021
1022 </dd></dl>
1023
1024 <dl>
1025 <dt id="index-DENOMINATOR">Function: <strong>DENOMINATOR</strong> <em>(rational)</em></dt>
1026 <dd><p>Package:LISP
1027 </p>
1028 <p>Returns the denominator of RATIONAL as an integer.
1029 </p>
1030
1031 </dd></dl>
1032
1033 <dl>
1034 <dt id="index-FLOAT">Function: <strong>FLOAT</strong> <em>(number &amp;optional other)</em></dt>
1035 <dd><p>Package:LISP
1036 </p>
1037 <p>Converts a non-complex number to a floating-point number. If NUMBER is
1038 already a float, FLOAT simply returns NUMBER. Otherwise, the format of
1039 the returned float depends on OTHER; If OTHER is not provided, FLOAT returns
1040 a SINGLE-FLOAT. If OTHER is provided, the result is in the same float format
1041 as OTHER&rsquo;s.
1042 </p>
1043
1044 </dd></dl>
1045
1046 <dl>
1047 <dt id="index-ROUND">Function: <strong>ROUND</strong> <em>(number &amp;optional (divisor 1))</em></dt>
1048 <dd><p>Package:LISP
1049 </p>
1050 <p>Rounds NUMBER/DIVISOR to nearest integer. The second returned value is the
1051 remainder.
1052 </p>
1053
1054 </dd></dl>
1055
1056 <dl>
1057 <dt id="index-LOGAND">Function: <strong>LOGAND</strong> <em>(&amp;rest integers)</em></dt>
1058 <dd><p>Package:LISP
1059 </p>
1060 <p>Returns the bit-wise AND of its arguments.
1061 </p>
1062
1063 </dd></dl>
1064
1065 <dl>
1066 <dt id="index-BOOLE_002d2">Constant: <strong>BOOLE-2</strong></dt>
1067 <dd><p>Package:LISP
1068 Makes BOOLE return INTEGER2.
1069 </p>
1070
1071 </dd></dl>
1072
1073 <dl>
1074 <dt id="index-_002a">Function: <strong>*</strong> <em>(&amp;rest numbers)</em></dt>
1075 <dd><p>Package:LISP
1076 </p>
1077 <p>Returns the product of its arguments. With no args, returns 1.
1078 </p>
1079
1080 </dd></dl>
1081
1082 <dl>
1083 <dt id="index-_003c">Function: <strong>&lt;</strong> <em>(number &amp;rest more-numbers)</em></dt>
1084 <dd><p>Package:LISP
1085 </p>
1086 <p>Returns T if its arguments are in strictly increasing order; NIL otherwise.
1087 </p>
1088
1089 </dd></dl>
1090
1091 <dl>
1092 <dt id="index-COMPLEX">Function: <strong>COMPLEX</strong> <em>(realpart &amp;optional (imagpart 0))</em></dt>
1093 <dd><p>Package:LISP
1094 </p>
1095 <p>Returns a complex number with the given real and imaginary parts.
1096 </p>
1097
1098 </dd></dl>
1099
1100 <dl>
1101 <dt id="index-SINGLE_002dFLOAT_002dEPSILON">Constant: <strong>SINGLE-FLOAT-EPSILON</strong></dt>
1102 <dd><p>Package:LISP
1103 Same as LONG-FLOAT-EPSILON.
1104 </p>
1105
1106 </dd></dl>
1107
1108 <dl>
1109 <dt id="index-LOGANDC2">Function: <strong>LOGANDC2</strong> <em>(integer1 integer2)</em></dt>
1110 <dd><p>Package:LISP
1111 </p>
1112 <p>Returns the logical AND of INTEGER1 and (LOGNOT INTEGER2).
1113 </p>
1114
1115 </dd></dl>
1116
1117 <dl>
1118 <dt id="index-INTEGER_002dLENGTH">Function: <strong>INTEGER-LENGTH</strong> <em>(integer)</em></dt>
1119 <dd><p>Package:LISP
1120 </p>
1121 <p>Returns the number of significant bits in the absolute value of INTEGER.
1122 </p>
1123
1124 </dd></dl>
1125
1126 <dl>
1127 <dt id="index-MOST_002dNEGATIVE_002dFIXNUM">Constant: <strong>MOST-NEGATIVE-FIXNUM</strong></dt>
1128 <dd><p>Package:LISP
1129 The fixnum closest in value to negative infinity.
1130 </p>
1131
1132 </dd></dl>
1133
1134 <dl>
1135 <dt id="index-LONG_002dFLOAT_002dNEGATIVE_002dEPSILON">Constant: <strong>LONG-FLOAT-NEGATIVE-EPSILON</strong></dt>
1136 <dd><p>Package:LISP
1137 The smallest positive long-float that satisfies
1138 (not (= (float 1 e) (- (float 1 e) e))).
1139 </p>
1140
1141 </dd></dl>
1142
1143 <dl>
1144 <dt id="index-_003e_003d">Function: <strong>&gt;=</strong> <em>(number &amp;rest more-numbers)</em></dt>
1145 <dd><p>Package:LISP
1146 </p>
1147 <p>Returns T if arguments are in strictly non-increasing order; NIL otherwise.
1148 </p>
1149
1150 </dd></dl>
1151
1152 <dl>
1153 <dt id="index-BOOLE_002dNOR">Constant: <strong>BOOLE-NOR</strong></dt>
1154 <dd><p>Package:LISP
1155 Makes BOOLE return LOGNOR of INTEGER1 and INTEGER2.
1156 </p>
1157
1158 </dd></dl>
1159
1160 <dl>
1161 <dt id="index-ACOS">Function: <strong>ACOS</strong> <em>(number)</em></dt>
1162 <dd><p>Package:LISP
1163 </p>
1164 <p>Returns the arc cosine of NUMBER.
1165 </p>
1166
1167 </dd></dl>
1168
1169 <dl>
1170 <dt id="index-MAKE_002dRANDOM_002dSTATE">Function: <strong>MAKE-RANDOM-STATE</strong> <em>(&amp;optional (state *random-state*))</em></dt>
1171 <dd><p>Package:LISP
1172 </p>
1173 <p>Creates and returns a copy of the specified random state. If STATE is NIL,
1174 then the value of *RANDOM-STATE* is used. If STATE is T, then returns a
1175 random state object generated from the universal time.
1176 </p>
1177
1178 </dd></dl>
1179
1180 <dl>
1181 <dt id="index-EXPT">Function: <strong>EXPT</strong> <em>(base-number power-number)</em></dt>
1182 <dd><p>Package:LISP
1183 </p>
1184 <p>Returns BASE-NUMBER raised to the power POWER-NUMBER.
1185 </p>
1186
1187 </dd></dl>
1188
1189 <dl>
1190 <dt id="index-SQRT">Function: <strong>SQRT</strong> <em>(number)</em></dt>
1191 <dd><p>Package:LISP
1192 </p>
1193 <p>Returns the principal square root of NUMBER.
1194 </p>
1195
1196 </dd></dl>
1197
1198 <dl>
1199 <dt id="index-SCALE_002dFLOAT">Function: <strong>SCALE-FLOAT</strong> <em>(float integer)</em></dt>
1200 <dd><p>Package:LISP
1201 </p>
1202 <p>Returns (* FLOAT (expt (float-radix FLOAT) INTEGER)).
1203 </p>
1204
1205 </dd></dl>
1206
1207 <dl>
1208 <dt id="index-ACOSH">Function: <strong>ACOSH</strong> <em>(number)</em></dt>
1209 <dd><p>Package:LISP
1210 </p>
1211 <p>Returns the hyperbolic arc cosine of NUMBER.
1212 </p>
1213
1214 </dd></dl>
1215
1216 <dl>
1217 <dt id="index-MOST_002dNEGATIVE_002dLONG_002dFLOAT">Constant: <strong>MOST-NEGATIVE-LONG-FLOAT</strong></dt>
1218 <dd><p>Package:LISP
1219 The long-float closest in value to negative infinity.
1220 </p>
1221
1222 </dd></dl>
1223
1224 <dl>
1225 <dt id="index-LEAST_002dNEGATIVE_002dLONG_002dFLOAT">Constant: <strong>LEAST-NEGATIVE-LONG-FLOAT</strong></dt>
1226 <dd><p>Package:LISP
1227 The negative long-float closest in value to zero.
1228 </p>
1229
1230 </dd></dl>
1231
1232 <dl>
1233 <dt id="index-FFLOOR">Function: <strong>FFLOOR</strong> <em>(number &amp;optional (divisor 1))</em></dt>
1234 <dd><p>Package:LISP
1235 </p>
1236 <p>Same as FLOOR, but returns a float as the first value.
1237 </p>
1238
1239 </dd></dl>
1240
1241 <dl>
1242 <dt id="index-LOGNOR">Function: <strong>LOGNOR</strong> <em>(integer1 integer2)</em></dt>
1243 <dd><p>Package:LISP
1244 </p>
1245 <p>Returns the complement of the logical OR of INTEGER1 and INTEGER2.
1246 </p>
1247
1248 </dd></dl>
1249
1250 <dl>
1251 <dt id="index-PARSE_002dINTEGER">Function: <strong>PARSE-INTEGER</strong> <em>(string &amp;key (start 0) (end (length string)) (radix 10) (junk-allowed nil))</em></dt>
1252 <dd><p>Package:LISP
1253 </p>
1254 <p>Parses STRING for an integer and returns it.
1255 </p>
1256
1257 </dd></dl>
1258
1259 <dl>
1260 <dt id="index-_002b">Function: <strong>+</strong> <em>(&amp;rest numbers)</em></dt>
1261 <dd><p>Package:LISP
1262 </p>
1263 <p>Returns the sum of its arguments. With no args, returns 0.
1264 </p>
1265
1266 </dd></dl>
1267
1268 <dl>
1269 <dt id="index-_003d">Function: <strong>=</strong> <em>(number &amp;rest more-numbers)</em></dt>
1270 <dd><p>Package:LISP
1271 </p>
1272 <p>Returns T if all of its arguments are numerically equal; NIL otherwise.
1273 </p>
1274
1275 </dd></dl>
1276
1277 <dl>
1278 <dt id="index-NUMBERP">Function: <strong>NUMBERP</strong> <em>(x)</em></dt>
1279 <dd><p>Package:LISP
1280 </p>
1281 <p>Returns T if X is any kind of number; NIL otherwise.
1282 </p>
1283
1284 </dd></dl>
1285
1286 <dl>
1287 <dt id="index-MOST_002dPOSITIVE_002dDOUBLE_002dFLOAT">Constant: <strong>MOST-POSITIVE-DOUBLE-FLOAT</strong></dt>
1288 <dd><p>Package:LISP
1289 Same as MOST-POSITIVE-LONG-FLOAT.
1290 </p>
1291
1292 </dd></dl>
1293
1294 <dl>
1295 <dt id="index-LOGTEST">Function: <strong>LOGTEST</strong> <em>(integer1 integer2)</em></dt>
1296 <dd><p>Package:LISP
1297 </p>
1298 <p>Returns T if LOGAND of INTEGER1 and INTEGER2 is not zero; NIL otherwise.
1299 </p>
1300
1301 </dd></dl>
1302
1303 <dl>
1304 <dt id="index-RANDOM_002dSTATE_002dP">Function: <strong>RANDOM-STATE-P</strong> <em>(x)</em></dt>
1305 <dd><p>Package:LISP
1306 </p>
1307 <p>Returns T if X is a random-state object; NIL otherwise.
1308 </p>
1309
1310 </dd></dl>
1311
1312 <dl>
1313 <dt id="index-LEAST_002dPOSITIVE_002dDOUBLE_002dFLOAT">Constant: <strong>LEAST-POSITIVE-DOUBLE-FLOAT</strong></dt>
1314 <dd><p>Package:LISP
1315 Same as LEAST-POSITIVE-LONG-FLOAT.
1316 </p>
1317
1318 </dd></dl>
1319
1320 <dl>
1321 <dt id="index-FLOAT_002dPRECISION">Function: <strong>FLOAT-PRECISION</strong> <em>(float)</em></dt>
1322 <dd><p>Package:LISP
1323 </p>
1324 <p>Returns the number of significant radix-B digits used to represent the
1325 significand F of the floating-point number, where B = (FLOAT-RADIX FLOAT).
1326 </p>
1327
1328 </dd></dl>
1329
1330 <dl>
1331 <dt id="index-BOOLE_002dXOR">Constant: <strong>BOOLE-XOR</strong></dt>
1332 <dd><p>Package:LISP
1333 Makes BOOLE return LOGXOR of INTEGER1 and INTEGER2.
1334 </p>
1335
1336 </dd></dl>
1337
1338 <dl>
1339 <dt id="index-DPB">Function: <strong>DPB</strong> <em>(newbyte bytespec integer)</em></dt>
1340 <dd><p>Package:LISP
1341 </p>
1342 <p>Returns an integer computed by replacing the specified byte of INTEGER with
1343 NEWBYTE.
1344 </p>
1345
1346 </dd></dl>
1347
1348 <dl>
1349 <dt id="index-ABS">Function: <strong>ABS</strong> <em>(number)</em></dt>
1350 <dd><p>Package:LISP
1351 </p>
1352 <p>Returns the absolute value of NUMBER.
1353 </p>
1354
1355 </dd></dl>
1356
1357 <dl>
1358 <dt id="index-CONJUGATE">Function: <strong>CONJUGATE</strong> <em>(number)</em></dt>
1359 <dd><p>Package:LISP
1360 </p>
1361 <p>Returns the complex conjugate of NUMBER.
1362 </p>
1363
1364 </dd></dl>
1365
1366 <dl>
1367 <dt id="index-CIS">Function: <strong>CIS</strong> <em>(radians)</em></dt>
1368 <dd><p>Package:LISP
1369 </p>
1370 <p>Returns e raised to i*RADIANS.
1371 </p>
1372
1373 </dd></dl>
1374
1375 <dl>
1376 <dt id="index-ODDP">Function: <strong>ODDP</strong> <em>(integer)</em></dt>
1377 <dd><p>Package:LISP
1378 </p>
1379 <p>Returns T if INTEGER is odd; NIL otherwise.
1380 </p>
1381
1382 </dd></dl>
1383
1384 <dl>
1385 <dt id="index-RATIONALIZE">Function: <strong>RATIONALIZE</strong> <em>(number)</em></dt>
1386 <dd><p>Package:LISP
1387 </p>
1388 <p>Converts NUMBER into rational approximately and returns it.
1389 </p>
1390
1391 </dd></dl>
1392
1393 <dl>
1394 <dt id="index-ISQRT">Function: <strong>ISQRT</strong> <em>(integer)</em></dt>
1395 <dd><p>Package:LISP
1396 </p>
1397 <p>Returns the greatest integer less than or equal to the square root of the
1398 given non-negative integer.
1399 </p>
1400
1401 </dd></dl>
1402
1403 <dl>
1404 <dt id="index-LOGXOR">Function: <strong>LOGXOR</strong> <em>(&amp;rest integers)</em></dt>
1405 <dd><p>Package:LISP
1406 </p>
1407 <p>Returns the bit-wise EXCLUSIVE OR of its arguments.
1408 </p>
1409
1410 </dd></dl>
1411
1412 <dl>
1413 <dt id="index-_003e">Function: <strong>&gt;</strong> <em>(number &amp;rest more-numbers)</em></dt>
1414 <dd><p>Package:LISP
1415 </p>
1416 <p>Returns T if its arguments are in strictly decreasing order; NIL otherwise.
1417 </p>
1418
1419 </dd></dl>
1420
1421 <dl>
1422 <dt id="index-LOGBITP">Function: <strong>LOGBITP</strong> <em>(index integer)</em></dt>
1423 <dd><p>Package:LISP
1424 </p>
1425 <p>Returns T if the INDEX-th bit of INTEGER is 1.
1426 </p>
1427
1428 </dd></dl>
1429
1430 <dl>
1431 <dt id="index-DOUBLE_002dFLOAT_002dEPSILON">Constant: <strong>DOUBLE-FLOAT-EPSILON</strong></dt>
1432 <dd><p>Package:LISP
1433 Same as LONG-FLOAT-EPSILON.
1434 </p>
1435
1436 </dd></dl>
1437
1438 <dl>
1439 <dt id="index-LOGCOUNT">Function: <strong>LOGCOUNT</strong> <em>(integer)</em></dt>
1440 <dd><p>Package:LISP
1441 </p>
1442 <p>If INTEGER is negative, returns the number of 0 bits. Otherwise, returns
1443 the number of 1 bits.
1444 </p>
1445
1446 </dd></dl>
1447
1448 <dl>
1449 <dt id="index-GCD">Function: <strong>GCD</strong> <em>(&amp;rest integers)</em></dt>
1450 <dd><p>Package:LISP
1451 </p>
1452 <p>Returns the greatest common divisor of INTEGERs.
1453 </p>
1454
1455 </dd></dl>
1456
1457 <dl>
1458 <dt id="index-RATIONALP">Function: <strong>RATIONALP</strong> <em>(x)</em></dt>
1459 <dd><p>Package:LISP
1460 </p>
1461 <p>Returns T if X is an integer or a ratio; NIL otherwise.
1462 </p>
1463
1464 </dd></dl>
1465
1466 <dl>
1467 <dt id="index-MOD">Function: <strong>MOD</strong> <em>(number divisor)</em></dt>
1468 <dd><p>Package:LISP
1469 </p>
1470 <p>Returns the second result of (FLOOR NUMBER DIVISOR).
1471 </p>
1472
1473 </dd></dl>
1474
1475 <dl>
1476 <dt id="index-MODF">Function: <strong>MODF</strong> <em>(number)</em></dt>
1477 <dd><p>Package:SYSTEM
1478 </p>
1479 <p>Returns the integer and fractional part of a floating point number mod 1.0.
1480 </p>
1481
1482 </dd></dl>
1483
1484 <dl>
1485 <dt id="index-BOOLE_002dORC1">Constant: <strong>BOOLE-ORC1</strong></dt>
1486 <dd><p>Package:LISP
1487 Makes BOOLE return LOGORC1 of INTEGER1 and INTEGER2.
1488 </p>
1489
1490 </dd></dl>
1491
1492 <dl>
1493 <dt id="index-SINGLE_002dFLOAT_002dNEGATIVE_002dEPSILON">Constant: <strong>SINGLE-FLOAT-NEGATIVE-EPSILON</strong></dt>
1494 <dd><p>Package:LISP
1495 Same as LONG-FLOAT-NEGATIVE-EPSILON.
1496 </p>
1497
1498 </dd></dl>
1499
1500 <dl>
1501 <dt id="index-FLOOR">Function: <strong>FLOOR</strong> <em>(number &amp;optional (divisor 1))</em></dt>
1502 <dd><p>Package:LISP
1503 </p>
1504 <p>Returns the largest integer not larger than the NUMBER divided by DIVISOR.
1505 The second returned value is (- NUMBER (* first-value DIVISOR)).
1506 </p>
1507
1508 </dd></dl>
1509
1510 <dl>
1511 <dt id="index-PLUSP">Function: <strong>PLUSP</strong> <em>(number)</em></dt>
1512 <dd><p>Package:LISP
1513 </p>
1514 <p>Returns T if NUMBER &gt; 0; NIL otherwise.
1515 </p>
1516
1517 </dd></dl>
1518
1519 <dl>
1520 <dt id="index-FLOAT_002dDIGITS">Function: <strong>FLOAT-DIGITS</strong> <em>(float)</em></dt>
1521 <dd><p>Package:LISP
1522 </p>
1523 <p>Returns the number of radix-B digits used to represent the significand F of
1524 the floating-point number, where B = (FLOAT-RADIX FLOAT).
1525 </p>
1526
1527 </dd></dl>
1528
1529 <dl>
1530 <dt id="index-RANDOM">Function: <strong>RANDOM</strong> <em>(number &amp;optional (state *random-state*))</em></dt>
1531 <dd><p>Package:LISP
1532 </p>
1533 <p>Generates a uniformly distributed pseudo-random number between zero
1534 (inclusive) and NUMBER (exclusive), by using the random state object STATE.
1535 </p>
1536
1537 </dd></dl>
1538
1539 <hr>
1540 <div class="header">
1541 <p>
1542 Next: <a href="Sequences-and-Arrays-and-Hash-Tables.html" accesskey="n" rel="next">Sequences and Arrays and Hash Tables</a>, Previous: <a href="index.html" accesskey="p" rel="prev">Top</a>, Up: <a href="index.html" accesskey="u" rel="up">Top</a> &nbsp; [<a href="Function-and-Variable-Index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Function-and-Variable-Index.html" title="Index" rel="index">Index</a>]</p>
1543 </div>
1544
1545
1546
1547 </body>
1548 </html>