Error getting tags :
error 404Error getting tags :
error 404 exp2 | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
exp2
Basics
Expander triangle
Type
Function
Syntax
the exp2 of number exp2(number)
See Also
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Returns the binary exponential of a number.
Examples

exp2(8) -- returns 256
exp2(the screenDepth) -- returns number of colors available

Additional Comments
Expander triangle

Use the exp2 function to obtain a power of 2.

Parameters:

The number is a real number, or an expression that evaluates to a number.

Value:

The exp2 function returns a positive number.

Comments:

The expression exp2(number) is equal to 2^number.

User Comments
Expander triangle