I love the smell of UnrealEd crashing in the morning. – tarquin

Legacy talk:Global Function (UT)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search

XxDangerxX: The Exp() function doesn't have anywhere enough information. What is the syntax when calling Exp, and how do you make it calculate your number e over the specified power a, when there is only one parameter in the function? On that note, what is e, and where did it come from? You could tie that question in with the syntax question.

The mathematical constant "e" is the base of the natural logarithm with the value 2.71828182845904523536..., so you don't actually need to specify it. If you're looking for a general way to raise a base to a certain power, use operator ** instead. Bascially exp(x) is the same as doing (2.71828182845 ** x). -Wormbo 21:36, 9 September 2008 (UTC)