e^ ( x -- e^x ) (original) (raw)

e^ ( x -- e^x )
Factor handbook » The language » Numbers » Mathematical functions » Powers and logarithms

Prev: sqrt ( x -- y )
Next: cis ( arg -- z )

Vocabulary
math.functions

Inputs

x a number

Outputs

e^x a number

Word description
Exponential function, raises e to the power of x.

See also
cis

Definition

IN: math.functions

GENERIC: e^ ( x -- e^x )

Methods

USING: kernel math math.functions ;

M: complex e^ >rect [ e^ ] dip polar> ; inline

USING: math math.functions math.libm ;

M: float e^ fexp ; inline

USING: math math.functions ;

M: real e^ >float e^ ; inline