From WikiChip
$log2 identifier - mIRC
< mirc‎ | identifiers
Revision as of 11:22, 31 October 2022 by 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}}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

$log2 returns the common logarithm (base 2) of a number

Details

Note: for window logging please see /log /logview /loadbuf /savebuf $logdir $window().logfile

Synopsis

$log2(N)

Parameters

  • N - Number for which to return its common logarithm

Properties

None

Example

//echo -a except for precision rounding 2^ $log2(7) is 7
//echo -a $log2(7) is $log(7) / $log(2)

Compatibility

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.

See also