$Exp2 or $Exp 2: Difference between revisions
Jump to navigation
Jump to search
Line 19: | Line 19: | ||
==Usage notes== | ==Usage notes== | ||
<ul> | <ul> | ||
<li>If ''x'' exceeds 251.99, an error message | <li>If ''x'' exceeds 251.99, an error message is printed and the request is cancelled.</li> | ||
is printed and the request is cancelled. | |||
</ul> | </ul> |
Revision as of 20:13, 20 December 2017
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)
Usage notes
- If x exceeds 251.99, an error message is printed and the request is cancelled.