exp2[]

Compute binary exponential function.

Returns the base-2 exponential function of x, which is 2 raised to the power x, 2x.

Syntax

exp2[x]

Parameters

x Value of the exponent.
Return Value 2 raised to the power of x.

Examples

#<result> = exp2[8]
(print,#<result>)

result: 256

See also

log2