BIS_fnc_pow

From Bohemia Interactive Community
Revision as of 12:53, 1 July 2022 by Lou Montana (talk | contribs) (Text replacement - "\|seealso= ([^ ]+)(\]\]|\}\}), *(\[\[|\{\{)" to "|seealso= $1$2 $3")
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Return value1 raised to the power of value2. Identical to a ^ b.
Use a ^ b, it is 5 times faster.
Execution:
call
Groups:
Math

Syntax

Syntax:
[value1, value2] call BIS_fnc_pow
Parameters:
value1: Number
value2: Number
Return Value:
Number - value1 raised to the power of value2

Examples

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

Additional Information

See also:
Operators Math Commands groupa ^ b

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note