Преглед изворни кода

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>
 			<description>
 				The natural exponential function. It raises the mathematical constant [b]e[/b] to the power of [code]s[/code] and returns it.
 				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.
 				[b]e[/b] has an approximate value of 2.71828.
+				For exponents to other bases use the method [method pow].
 				[codeblock]
 				[codeblock]
 				a = exp(2) # Approximately 7.39
 				a = exp(2) # Approximately 7.39
 				[/codeblock]
 				[/codeblock]