exp: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (template:command argument fix) |
||
(12 intermediate revisions by 9 users not shown) | |||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Let '''x''' be a number, then '''exp (x)''' is equal to '''e to the power of x''' (or e^x) |= | | 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''' | | [[Number]] <nowiki>=</nowiki> '''exp''' x |SYNTAX= | ||
|p1= [[Number]] |= | |p1= x: [[Number]] |PARAMETER1= | ||
| [[Number]] |= | | [[Number]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= < | |x1= <code>_result = [[exp]] 1</code> | ||
returns 2.7182 |= | returns 2.7182 |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[Math Commands]] [http://en.wikipedia.org/wiki/E_(mathematical_constant) E (mathematical constant)]|SEEALSO= | ||
}} | }} | ||
Line 29: | Line 29: | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<dt class="note">Unknown <dd class="note">Note that you cannot exponent a value greater than 88.72283554077147726999 (999 repeating), as this is beyond what the game can calculate. | |||
<!-- Note Section END --> | <!-- Note Section END --> | ||
Line 36: | Line 37: | ||
[[Category:Scripting Commands|EXP]] | [[Category:Scripting Commands|EXP]] | ||
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands OFP 1.96|EXP]] | [[Category:Scripting Commands OFP 1.96|EXP]] | ||
[[Category:Scripting Commands OFP 1.46|EXP]] | [[Category:Scripting Commands OFP 1.46|EXP]] | ||
[[Category:Scripting Commands ArmA|EXP]] | [[Category:Scripting Commands ArmA|EXP]] | ||
[[Category:Command_Group:_Math|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_Math|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] |
Revision as of 15:39, 7 April 2019
Description
- Description:
- Let x be a number, then exp (x) is equal to e to the power of x (or e^x)
- Groups:
- Uncategorised
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: Uncategorised
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Command Group: Math
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters