LogN

From SCAR Divi Manual
Revision as of 23:11, 2 July 2011 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> function LogN(Base, X: Extended): Extended; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Returns the [h...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

function LogN(Base, X: Extended): Extended;

Availability

SCAR Divi 3.00 > Current

Description

Returns the logarithm of a value given by X with base given by Base.

Example

begin
  WriteLn(LogN(2, 10));
  WriteLn(LogN(2, 5));
  WriteLn(LogN(2, 2));
end.

Output:

1
0,698970004336019
0,301029995663981

See Also