Arma 3 Scripting

Function in Math

BIS_fnc_pow

Also available as Markdown and JSON, or read the 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