Arma 3 Scripting

BIS_fnc_pow

  • Arma 3 v1.00

Function · Markdown · JSON · original wiki page

Description

Return value1 raised to the power of value2. Identical to a ^ b.

Important

Use a ^ b as it is 5 times faster.

Syntax

[value1, value2] call BIS_fnc_pow

Parameters:

Returns: Number - value1 raised to the power of value2

Examples

Example 1

[2, 10] call BIS_fnc_pow; // returns 2^10 = 1024

See also

Operators · a ^ b