Difference between revisions of "exp"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (formatted notes + formatted examples)
m (template:command argument fix)
Line 7: Line 7:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| 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=
  
|p1=  x: [[Number]] |= Parameter 1
+
|p1=  x: [[Number]] |PARAMETER1=
  
| [[Number]] |= Return value
+
| [[Number]] |RETURNVALUE=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
 
   
 
   
 
|x1= <code>_result = [[exp]] 1</code>
 
|x1= <code>_result = [[exp]] 1</code>
  
returns 2.7182 |= Example 1
+
returns 2.7182 |EXAMPLE1=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| [[Math Commands]] [http://en.wikipedia.org/wiki/E_(mathematical_constant) E (mathematical constant)]|= See also
+
| [[Math Commands]] [http://en.wikipedia.org/wiki/E_(mathematical_constant) E (mathematical constant)]|SEEALSO=
  
 
}}
 
}}

Revision as of 15:39, 7 April 2019

Introduced with Operation Flashpoint version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint
Version:
1.00

Description

Description:
Let x be a number, then exp (x) is equal to e to the power of x (or e^x)

Syntax

Syntax:
Number = exp x
Parameters:
x: Number
Return Value:
Number

Examples

Example 1:
_result = exp 1 returns 2.7182

Additional Information

Multiplayer:
-
See also:
Math Commands E (mathematical constant)

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

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