$Exp10 or $Exp 10: Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 9: Line 9:
</p>
</p>


The <var>$Exp10</var> function returns the
The <var>$Exp10</var> function (or its alias, <var>$Exp_10</var>) returns the
value <code>10<sup>x</sup></code>.
value <code>10<sup>x</sup></code>.


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


{{Template:Math $functions note}}
{{Template:Math $functions note}}

Revision as of 19:36, 10 January 2012

Ten's exponent function

Most Sirius $functions have been deprecated in favor of Object Oriented methods. The OO equivalent for the $Exp10 function is the Antilog10 function.

The $Exp10 function (or its alias, $Exp_10) returns the value 10x.

Syntax

%num = $Exp10(x)

%num = $Exp_10(x)


See the SIRFUNC EXEC parameter for an explanation of when this high-performance, high-precision version of the IBM mathematical function from the Sirius Mods is used, as opposed to the version of the $function in the Model 204 FUND or FUNDLE CSECT.