bas7advr.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
EXP Function Details
  Syntax  Details  Example                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
EXP calculates the exponential function and returns e (the base of the
natural logarithm) to the power of numeric expression x.
 
EXP(x)
 
Usage Notes
    ■ EXP is calculated in single precision if the exponent x is an
      integer or single-precision value. If you use any other numeric data
      type, EXP is calculated in double-precision.
    ■ The exponent x must be less than or equal to 88.02969 when you are
      using single-precision values and less than or equal to
      709.782712893 when you are using double-precision values. If you use
      a value of x that is not within those limits, BASIC produces the
      error message, "Overflow."
    ■ The constant e is approximately equal to 2.718282.