Function Entry: CEILING
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: CEILING
Name
ceiling
Class
BricsCAD Extension Function
Syntax
(ceiling num)
Description
Returns the smallest integer greater than or equal to num.
Return Values
Vendor-defined; see Source Notes.
Side Effects
Vendor-defined.
Examples
Not documented in the BricsCAD-Specific LISP Functions catalogue page.
Availability
- AutoCAD 2026: not documented.
- BricsCAD V26: documented.
- Status: BricsCAD-only.
See Also
- AutoCAD has no
ceiling. AutoCAD'sfixtruncates toward zero rather than rounding upward; portable code emulatesceilingas(if (= n (fix n)) (fix n) (1+ (fix n)))for non-negativen.
Source Notes
- [ceiling (BricsCAD V26 DevRef)](https://developer.bricsys.com/bricscad/help/en_US/V26/DevRef/source/BricsCADLISPFunctions.htm)
- Status: documented (Phase 3 body fill from the BricsCAD V26 DevRef catalogue page).