Difference between revisions of "Log"

From Mesham
Jump to navigationJump to search
m
m
Line 3: Line 3:
 
This log(d) function will find the natural 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 ==
Line 11: Line 11:
 
  var a:=log(10.54);
 
  var a:=log(10.54);
 
  var y:=log(a);
 
  var y:=log(a);
 +
 +
''Since: Version 0.41b''
  
 
[[Category:Function Library]]
 
[[Category:Function Library]]
 
[[Category:Maths Functions]]
 
[[Category:Maths Functions]]

Revision as of 18:34, 13 January 2013

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>
var a:=log(10.54);
var y:=log(a);

Since: Version 0.41b