Futurebasic/Language/Reference/exp

From Wikibooks, open books for an open world
Jump to navigation Jump to search

EXP function[edit | edit source]

EXP[edit | edit source]

Statement[edit | edit source]

✔ Appearance ✔ Standard ✔ Console

Syntax[edit | edit source]

result# = EXP(expr)

Description[edit | edit source]

Returns the value of the transcendental number "e" raised to the power of expr. The number "e" is the base of natural logarithms, and is approximately equal to 2.718281828. The EXP function is used extensively in probability theory and in applied sciences.

EXP is the inverse of the LOG function; that is: EXP(LOG(x)) equals x. EXP always returns a double-precision result.

See Also[edit | edit source]

LOG; LOG10; LOG2