exp

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
the exp of <number>
exp(<number>)
Summary

Returns the natural exponential of a number.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Parameters
NameTypeDescription
number

A real number, or an expression that evaluates to a number.

Example
exp(1) -- returns e
exp(theReturnedValue)
Values
NameTypeDescription
return

The exp function returns a positive number.

RelatedOperator: ^
Function: sqrt, exp10, ln, exp2, baseConvert, exp1
Glossary: return, math operation
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 operations for more information.

Tagsmath