Berserk Docs
Scalar FunctionsMath Functions

exp2

Returns 2 raised to the power of the numeric expression.

Syntax

exp2(x)

Parameters

Prop

Type

Returns: real

Examples

Example 1

print exp2(10)
print_0 (real)
1024.0

On this page