Function exp

  • Compute the value of a e raised to a specified power.

    Parameters

    • x: number

      A numeric expression representing the power of e.

    Returns number

    Returns e (the base of natural logarithms) raised to a power.

    Since

    0.1.0

    Example

    exp(2)
    // => 7.38905609893