From WikiChip
Difference between revisions of "mirc/identifiers/$log2"
Maroonbells (talk | contribs) (Created page with "{{mirc title|$log2 identifier}}'''$log2''' returns the common logarithm (base 2) of a number == Details == Note: for window logging please see {{mIRC|/log}} {{mIRC|/logview}}...") |
(No difference)
|
Latest revision as of 12:22, 31 October 2022
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$log2 returns the common logarithm (base 2) of a number
Details[edit]
Note: for window logging please see /log /logview /loadbuf /savebuf $logdir $window().logfile
Synopsis[edit]
$log2(N)
Parameters[edit]
- N - Number for which to return its common logarithm
Properties[edit]
None
Example[edit]
//echo -a except for precision rounding 2^ $log2(7) is 7 //echo -a $log2(7) is $log(7) / $log(2)
Compatibility[edit]
Added: mIRC v7.72
Added on: 27 Nov 2022
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.