BIS fnc pow: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Use a ^ b, it's 5 times faster. Added)
m (Text replacement - "{{Function|= Comments " to "{{Function|Comments= ")
Line 1: Line 1:
{{Function|= Comments
{{Function|Comments=


| arma3 |Game name=
| arma3 |Game name=

Revision as of 12:12, 26 June 2020

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's 5 times faster.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[value1, value2] call BIS_fnc_pow
Parameters:
value1: Number
value2: Number
Return Value:
Number - value1 ^ value2

Examples

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

Additional Information

See also:
OperatorsMath 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