Calculates the binary logarithm (base-2) of a number.
(dos_log2 number)
number
The positive real number for which you want the base-2 logarithm.
The base-2 logarithm of the number, if successful.
nil on error.
Command: (dos_log2 1) 0 Command: (dos_log2 2) 1 Command: (dos_log2 3) 1.58496 Command: (dos_log2 4) 2
There was an error while loading. Please reload this page.
Home Introduction CAD Function Configuration Functions Directory Functions Drive functions File Functions Math Functions Path Functions Printer Functions Process Functions String Functions System Functions User Interface Functions DOSLib Functions History