$Exp or $Exp e: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (moved $Exp to $Exp or Exp e)
(Automatically generated page update)
 
(11 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<span class="pageSubtitle">Exponential function</span>
<span class="pageSubtitle">Exponential function</span>
<p class="warning">Most Sirius $functions have been deprecated in favor of Object Oriented
<p class="warn"><b>Note: </b>Many $functions have been deprecated in favor of Object Oriented
methods.
methods.
The OO equivalent for the
The OO equivalent for the $Exp
<var>$Exp</var>
function is the <var>[[AntilogE (Float function)|AntilogE]]</var> function.</p>
function is the <var>[[AntilogE (Float function)|AntilogE]]</var> function.</p>
[[Category: Mathematical $functions]]
[[Category: Mathematical $functions]]
Line 9: Line 9:
</p>
</p>


The <var>$Exp</var> function returns the
The <var>$Exp</var> function (or its alias, <var>$Exp_e</var>) returns the
value <code>e<sup>x</sup></code>.
value <code>e<sup>x</sup></code>.


==Syntax==
==Syntax==
<p class="syntax"><span class="term">%num</span><span class="literal"> = $Exp(</span><span class="term">x</span><span class="literal">)</span>  </p>
<p class="syntax"><span class="term">%num</span><span class="literal"> = $Exp(</span><span class="term">x</span><span class="literal">)</span>  </p>
<p class="syntax"><span class="term">%num</span><span class="literal"> = $Exp_e(</span><span class="term">x</span><span class="literal">)</span>  </p>


If ''x'' exceeds 174.63, an error message
==Usage notes==
is printed and a 0 is returned.
<ul>
 
<li>If ''x'' exceeds 174.63, an error message is printed and the request is cancelled.</li>
{{Template:Math $functions note}}
</ul>

Latest revision as of 00:03, 21 September 2018

Exponential function

Note: Many $functions have been deprecated in favor of Object Oriented methods. The OO equivalent for the $Exp function is the AntilogE function.

The $Exp function (or its alias, $Exp_e) returns the value ex.

Syntax

%num = $Exp(x)

%num = $Exp_e(x)

Usage notes

  • If x exceeds 174.63, an error message is printed and the request is cancelled.