diff options
| author | Will Vincent | 2018-04-15 11:40:31 -0500 |
|---|---|---|
| committer | Will Vincent | 2018-04-15 11:40:31 -0500 |
| commit | b6b8c7b21564672ad5e2e96eb95b857c73404b44 (patch) | |
| tree | 022189156cab4e0b1a217a5192c6c1c6026d4840 /doc/classes/@GDScript.xml | |
| parent | e7445c3d82b60eae2d02e201d21990f0aac096ae (diff) | |
| download | godot-b6b8c7b21564672ad5e2e96eb95b857c73404b44.tar.gz godot-b6b8c7b21564672ad5e2e96eb95b857c73404b44.tar.zst godot-b6b8c7b21564672ad5e2e96eb95b857c73404b44.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.
Diffstat (limited to 'doc/classes/@GDScript.xml')
| -rw-r--r-- | doc/classes/@GDScript.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/classes/@GDScript.xml b/doc/classes/@GDScript.xml index 07e428faa..acece0551 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] |
