forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexp.lcdoc
More file actions
45 lines (28 loc) · 934 Bytes
/
exp.lcdoc
File metadata and controls
45 lines (28 loc) · 934 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Name: exp
Type: function
Syntax: the exp of <number>
Syntax: exp(<number>)
Summary:
<return|Returns> the natural exponential of a number.
Introduced: 1.0
OS: mac, windows, linux, ios, android
Platforms: desktop, server, mobile
Example:
exp(1) -- returns e
Example:
exp(theReturnedValue)
Parameters:
number:
A real number, or an expression that evaluates to a number.
Returns:
The <exp> function <return|returns> a positive number.
Description:
Use the <exp> function to obtain a power of e, e^ <number>.
The transcendental number e appears in many mathematical formulas.
If a math operation on finite inputs produces a non-finite output, an
execution error is thrown. See <math operation|math operations> for more
information.
References: sqrt (function), exp10 (function), ln (function),
exp2 (function), baseConvert (function), exp1 (function),
return (glossary), ^ (operator), math operation (glossary)
Tags: math