lispdoc - results for ceiling |
(ceiling number &optional (divisor 1)) | Function: Return the smallest integer not less than number, or number/divisor. The second returned value is the remainder.
|
Example:(defun palindrome? (x) (let ((mid (/ (length x) 2))) (equal (subseq x 0 (floor mid)) (reverse (subseq x (ceiling mid)))))) | Mentioned in: CLtL2 - 12.4. Arithmetic Operations CLtL2 - 12.6. Type Conversions and Component Extractions on Numbers CLtL2 - 4.8. Type Conversion Function HyperSpec - Function FLOOR, FFLOOR, CEILING, FCEILING, TRUNCATE, FTRUNCATE, ROUND, FROUND On Lisp - Dispatching Macro Characters PCL - basic math |
calling | |
| Mentioned in: HyperSpec - 3.5.1.8 Errors When Calling a Next Method | |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| By Bill Moorier |