Difference between revisions of "LogN"

From SCAR Divi Manual
Jump to: navigation, search
(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...")
 
 
(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 LogN(Base, X: Extended): Extended;
+
function LogN(const Base, X: Extended): Extended;
 
</source>
 
</source>
  
Line 27: Line 27:
 
*[[Log2]]
 
*[[Log2]]
 
*[[Log10]]
 
*[[Log10]]
 +
*[[Ln]]
 
*[[LnXP1]]
 
*[[LnXP1]]
  
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Math Functions]]
 
[[Category:Math Functions]]

Latest revision as of 12:26, 23 September 2011

Definition

function LogN(const 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