$Exp2 or $Exp 2

From m204wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Two's exponent function

Note: Many $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.