Difference between revisions of "Log"
From Mesham
Jump to navigationJump to searchm |
m (6 revisions imported) |
||
(2 intermediate revisions by the same user not shown) | |||
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 | + | * '''Pass:''' A [[Double]] |
− | * '''Returns:''' A | + | * '''Returns:''' A [[Double]] representing the logarithmic value |
== Example == | == Example == | ||
#include <maths> | #include <maths> | ||
− | var a:=log(10.54); | + | |
− | + | 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]] |