BIS fnc pow: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|seealso= ([^ ]+)(\]\]|\}\}), *(\[\[|\{\{)" to "|seealso= $1$2 $3") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
|gr1= Math | |gr1= Math | ||
|descr= Return value1 raised to the power of value2. Identical to [[a ^ b]]. {{Feature| | |descr= Return value1 raised to the power of value2. Identical to [[a ^ b]]. {{Feature|important|Use [[a ^ b]] as it is 5 times faster.}} | ||
<!-- | <!-- | ||
|alias= [[a ^ b]] | |alias= [[a ^ b]] | ||
Line 18: | Line 18: | ||
|r1= [[Number]] - ''value1'' raised to the power of ''value2'' | |r1= [[Number]] - ''value1'' raised to the power of ''value2'' | ||
|x1= < | |x1= <sqf>[2, 10] call BIS_fnc_pow; // returns 2^10 = 1024</sqf> | ||
|seealso= [[Operators]] [[:Category:Command Group: Math|Math Commands group]] | |seealso= [[Operators]] [[:Category:Command Group: Math|Math Commands group]] [[a ^ b]] | ||
}} | }} |
Latest revision as of 12:01, 13 July 2022
Description
- Description:
- Return value1 raised to the power of value2. Identical to a ^ b.
- 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:
Additional Information
- See also:
- Operators Math Commands group a ^ 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