exp: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]2(\|.*)\]\]" to "{{GameCategory|arma2|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| ofp |Game name= | | ofp |Game name= | ||
Line 7: | Line 6: | ||
|gr1= Math |GROUP1= | |gr1= Math |GROUP1= | ||
| Let '''x''' be a number, then '''exp (x)''' is equal to '''e to the power of x''' (or e^x) |DESCRIPTION= | | Let '''x''' be a number, then '''exp (x)''' is equal to '''e to the power of x''' (or e^x) |DESCRIPTION= | ||
| [[Number]] <nowiki>=</nowiki> '''exp''' x |SYNTAX= | | [[Number]] <nowiki>=</nowiki> '''exp''' x |SYNTAX= | ||
Line 17: | Line 14: | ||
| [[Number]] |RETURNVALUE= | | [[Number]] |RETURNVALUE= | ||
|x1= <code>_result = [[exp]] 1</code> | |x1= <code>_result = [[exp]] 1</code> | ||
returns 2.7182 |EXAMPLE1= | returns 2.7182 |EXAMPLE1= | ||
| [[Math Commands]] [http://en.wikipedia.org/wiki/E_(mathematical_constant) E (mathematical constant)]|SEEALSO= | | [[Math Commands]] [http://en.wikipedia.org/wiki/E_(mathematical_constant) E (mathematical constant)]|SEEALSO= |
Revision as of 01:14, 17 January 2021
Description
- Description:
- Let x be a number, then exp (x) is equal to e to the power of x (or e^x)
- Groups:
- Math
Syntax
Examples
- Example 1:
_result = exp 1
returns 2.7182
Additional Information
- See also:
- Math Commands E (mathematical constant)
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
Notes
- Unknown
- Note that you cannot exponent a value greater than 88.72283554077147726999 (999 repeating), as this is beyond what the game can calculate.
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Math
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands