Difference between revisions of "Log"

From Mesham
Jump to navigationJump to search
m (6 revisions imported)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== Overview ==
 
== Overview ==
  
This log(d) function will find the logarithmic value of ''d''
+
This log(d) function will find the natural logarithmic value of ''d''
  
* '''Pass:''' A double
+
* '''Pass:''' A [[Double]]
* '''Returns:''' A double representing the logarithmic value
+
* '''Returns:''' A [[Double]] representing the logarithmic value
  
 
== Example ==
 
== Example ==
  
 
  #include <maths>
 
  #include <maths>
  var a:=log(10.54);
+
   
var y:=log(a);
+
function void main() {
 +
    var a:=log(10.54);
 +
    var y:=log(a);
 +
};
 +
 
 +
''Since: Version 0.41b''
  
 
[[Category:Function Library]]
 
[[Category:Function Library]]
 
[[Category:Maths Functions]]
 
[[Category:Maths Functions]]

Latest revision as of 15:44, 15 April 2019

Overview

This log(d) function will find the natural logarithmic value of d

  • Pass: A Double
  • Returns: A Double representing the logarithmic value

Example

#include <maths>

function void main() {
   var a:=log(10.54);
   var y:=log(a);
};

Since: Version 0.41b