aboutsummaryrefslogtreecommitdiff
path: root/doc/classes/@GDScript.xml
diff options
context:
space:
mode:
authorWill Vincent2018-04-15 11:40:31 -0500
committerHein-Pieter van Braam2018-04-28 22:47:43 +0200
commitd49fc76ab8d2a5f7b315cae13d80b83ceea5cf40 (patch)
treed2e3572d0793e6297e6c263f80d077c89a9eb79d /doc/classes/@GDScript.xml
parentd89015cfe30a35f8268a88d1e09ccb79570816e7 (diff)
downloadgodot-d49fc76ab8d2a5f7b315cae13d80b83ceea5cf40.tar.gz
godot-d49fc76ab8d2a5f7b315cae13d80b83ceea5cf40.tar.zst
godot-d49fc76ab8d2a5f7b315cae13d80b83ceea5cf40.zip
Remove incorrect & potentially confusing references to Euler
e is referred to as Euler’s number, so technically the MATH_EXP description in VisualScript doc was not incorrect, though could potentially lead to confusion. e is different from Euler’s constant however, making the existing GDScript exp & VisualScriptMathConstant descriptions nvalid. (cherry picked from commit b6b8c7b21564672ad5e2e96eb95b857c73404b44)
Diffstat (limited to 'doc/classes/@GDScript.xml')
-rw-r--r--doc/classes/@GDScript.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/classes/@GDScript.xml b/doc/classes/@GDScript.xml
index b6ec305a7..6e950e8da 100644
--- a/doc/classes/@GDScript.xml
+++ b/doc/classes/@GDScript.xml
@@ -326,7 +326,8 @@
<argument index="0" name="s" type="float">
</argument>
<description>
- Raises the Euler's constant [b]e[/b] to the power of [code]s[/code] and returns it. [b]e[/b] has an approximate value of 2.71828.
+ 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.
[codeblock]
a = exp(2) # approximately 7.39
[/codeblock]