浏览代码

Merge pull request #30909 from Kaligule/patch-1

Add a reference to pow to the description of exp.
Rémi Verschelde 6 年之前
父节点
当前提交
d15090e275
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      modules/gdscript/doc_classes/@GDScript.xml

+ 1 - 0
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]