Difference between revisions of "Log2"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function Log2(X: Extended): Extended; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Returns the [http://...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
==Definition== | ==Definition== | ||
<source lang="scar" lines="false"> | <source lang="scar" lines="false"> | ||
− | function Log2(X: Extended): Extended; | + | function Log2(const X: Extended): Extended; |
</source> | </source> | ||
Line 27: | Line 27: | ||
*[[Log10]] | *[[Log10]] | ||
*[[LogN]] | *[[LogN]] | ||
+ | *[[Ln]] | ||
*[[LnXP1]] | *[[LnXP1]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Math Functions]] | [[Category:Math Functions]] |
Latest revision as of 11:26, 23 September 2011
Definition
function Log2(const X: Extended): Extended;
Availability
SCAR Divi 3.00 > Current
Description
Returns the logarithm of a value given by X with base 2.
Example
begin WriteLn(Log2(10)); WriteLn(Log2(5)); WriteLn(Log2(2)); end.
Output:
3,32192809488736 2,32192809488736 1