acos: Difference between revisions
Lou Montana (talk | contribs) (Added input limits) |
BrettMayson (talk | contribs) mNo edit summary |
||
| Line 28: | Line 28: | ||
|s1= [[acos]] x | |s1= [[acos]] x | ||
|p1= x: [[Number]] | |p1= x: [[Number]]in range -1..+1 - any other value returns [[NaN]] | ||
|r1= [[Number]] | |r1= [[Number]] | ||
Revision as of 07:42, 1 January 2026
Description
- Description:
- ArcCosine of a number, result in Degrees
- Groups:
- Math - Geometry
Syntax
- Syntax:
- acos x
- Parameters:
- x: Numberin range -1..+1 - any other value returns NaN
- Return Value:
- Number
Examples
- Example 1:
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Operation Flashpoint: Elite: Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Math - Geometry