$Exp or $Exp e: Difference between revisions
Jump to navigation
Jump to search
(Automatically generated page update) |
(→Syntax) |
||
Line 16: | Line 16: | ||
<p class="syntax"><span class="term">%num</span><span class="literal"> = $Exp_e(</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== | ||
<ul> | |||
<li>If ''x'' exceeds 174.63, an error message | |||
is printed and a 0 is returned. | is printed and a 0 is returned. | ||
{{Template:Math $functions note}} | <li>{{Template:Math $functions note}} | ||
</ul> |
Revision as of 20:55, 10 April 2013
Exponential function
Most Sirius $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 a 0 is returned.
- 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.