$Exp2 or $Exp 2: Difference between revisions
Jump to navigation
Jump to search
(Automatically generated page update) |
EllieWiccan (talk | contribs) (Automatically generated page update) |
||
Line 1: | Line 1: | ||
<span class="pageSubtitle">Two's exponent function</span> | <span class="pageSubtitle">Two's exponent function</span> | ||
<p class="warn"><b>Note: </b>Most Sirius $functions have been deprecated in favor of Object Oriented | <p class="warn"><b>Note: </b>Most Sirius $functions have been deprecated in favor of Object Oriented | ||
Line 16: | Line 16: | ||
<p class="syntax"><span class="term">%num</span><span class="literal"> = $Exp2(</span><span class="term">x</span><span class="literal">)</span> </p> | <p class="syntax"><span class="term">%num</span><span class="literal"> = $Exp2(</span><span class="term">x</span><span class="literal">)</span> </p> | ||
<p class="syntax"><span class="term">%num</span><span class="literal"> = $Exp_2(</span><span class="term">x</span><span class="literal">)</span> </p> | <p class="syntax"><span class="term">%num</span><span class="literal"> = $Exp_2(</span><span class="term">x</span><span class="literal">)</span> </p> | ||
Revision as of 19:33, 23 July 2015
Two's exponent function
Note: Most Sirius $functions have been deprecated in favor of Object Oriented methods. The OO equivalent for the $Exp2 function is the Antilog2 function.
The $Exp2 function (or its alias, $Exp_2) returns the
value 2x
.
Syntax
%num = $Exp2(x)
%num = $Exp_2(x)