exp1

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

Returns the natural exponential of a number, minus 1.

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
exp1(myValue)
Values
NameTypeDescription
return

The exp1 function returns a positive number.

RelatedFunction: ln1, exp
Glossary: return, math operation
Description

Use the exp1 function to obtain a power of e minus 1, e^ number - 1. This is the inverse function of ln1, that is exp1(ln1(x)) = x and ln1(exp1(x)) = x for any number x.

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