Merge pull request #30909 from Kaligule/patch-1
Add a reference to pow to the description of exp.
This commit is contained in:
commit
d15090e275
|
@ -322,6 +322,7 @@
|
||||||
<description>
|
<description>
|
||||||
The natural exponential function. It raises the mathematical constant [b]e[/b] to the power of [code]s[/code] and returns it.
|
The natural exponential function. It raises the mathematical constant [b]e[/b] to the power of [code]s[/code] and returns it.
|
||||||
[b]e[/b] has an approximate value of 2.71828.
|
[b]e[/b] has an approximate value of 2.71828.
|
||||||
|
For exponents to other bases use the method [method pow].
|
||||||
[codeblock]
|
[codeblock]
|
||||||
a = exp(2) # Approximately 7.39
|
a = exp(2) # Approximately 7.39
|
||||||
[/codeblock]
|
[/codeblock]
|
||||||
|
|
Loading…
Reference in New Issue