Log2

From SCAR Divi Manual
Revision as of 23:09, 2 July 2011 by Freddy (talk | contribs) (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://...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

function Log2(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

See Also