summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-07-30 00:06:30 +0200
committerGitHub <noreply@github.com>2019-07-30 00:06:30 +0200
commitd15090e2756dc0c8df83767dc08bb62b4bdb6a14 (patch)
treed876e4b132b3bdd9df19bce3c1c098ac3faaa486 /modules
parentb697121d75aad486f658daa864535a1d2ae8ad96 (diff)
parenta2c81a74555ca098da4d03a54f44664d933d7182 (diff)
Merge pull request #30909 from Kaligule/patch-1
Add a reference to pow to the description of exp.
Diffstat (limited to 'modules')
-rw-r--r--modules/gdscript/doc_classes/@GDScript.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/doc_classes/@GDScript.xml b/modules/gdscript/doc_classes/@GDScript.xml
index f65f2a8935..ad47323613 100644
--- a/modules/gdscript/doc_classes/@GDScript.xml
+++ b/modules/gdscript/doc_classes/@GDScript.xml
@@ -322,6 +322,7 @@
<description>
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.
+ For exponents to other bases use the method [method pow].
[codeblock]
a = exp(2) # Approximately 7.39
[/codeblock]