Explorar o código

Merge pull request #30909 from Kaligule/patch-1

Add a reference to pow to the description of exp.
Rémi Verschelde %!s(int64=6) %!d(string=hai) anos
pai
achega
d15090e275
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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]