Function Entry: LOG
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: LOG
Name
log
Class
Function
Syntax
(log num)
Arguments and Values
num: integer or real, a positive number.
Description
Returns the natural logarithm of num (base e). The base is fixed; AutoLISP does not provide a multi-argument form.
Return Values
A real number.
Side Effects
None.
Examples
(log 4.5)returns1.50408.(log 1.22)returns0.198851.
Availability
- AutoCAD 2026: documented.
- BricsCAD V26: presumed compatible. The BricsCAD-only
log10is documented separately in chapter 24. - Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.
Source Notes
- [log (AutoLISP 2026)](https://help.autodesk.com/cloudhelp/2026/ENU/AutoCAD-AutoLISP-Reference/files/GUID-4B1B6364-B1CB-4CE7-8C8F-706EA829780F.htm)
- Status: documented (Phase 3 body fill).