Skip to main content

exp2

Overloads

NameDescription
exp2(integer arg) -> realCalculates 2 raised to the power of the given value.
exp2(real arg) -> realCalculates 2 raised to the power of the given value.
exp2(bool arg) -> realCalculates 2 raised to the power of the given value.

exp2(integer arg) -> real

Calculates 2 raised to the power of the given value.

Parameters

  • arg: The exponent value.

exp2(real arg) -> real

Calculates 2 raised to the power of the given value.

Parameters

  • arg: The exponent value.

exp2(bool arg) -> real

Calculates 2 raised to the power of the given value.

Parameters

  • arg: The exponent value.