Start Back Next End
  
ZBasic System Library
176
ZBasic Microcontrollers
Log
Type
Function returning Single
Invocation
Log(arg)
Parameter
Method
Type
Description
arg
ByVal
Single
The value of which the natural log is to be computed.
Discussion
This function returns the Single value corresponding to natural logarithm (base e) of the value provided.  
The transcendental value e, upon which the natural logarithm is based, is approximately 2.71828.  This
function is the inverse of the Exp() function.
If the value of the argument provided is zero, the result is positive infinity.  If the argument value is
negative, the result is NaN.
See Also
Previous page Top Next page