Skip to content

EXP

Syntax

EXP(X)

Description

Returns e to the power of X. X must be <=87.3365. If EXP overflows, the "Overflow" error message is displayed, machine infinity with the appropriate sign is supplied as the result, and execution continues.

Example

10 X = 5
20 PRINT EXP(X-1)
RUN
54.5982
Ok

See Also

  • ABS - Return the absolute value of a number (removes negative sign)
  • ATN - Returns the arctangent of X in radians
  • COS - Returns the cosine of X in radians
  • FIX - Returns the truncated integer part of X
  • INT - Return the largest integer less than or equal to a number (floor function)
  • LOG - Returns the natural logarithm of X
  • RND - Returns a random number between 0 and 1
  • SGN - Returns the sign of X (-1, 0, or 1)
  • SIN - Returns the sine of X in radians
  • SQR - Returns the square root of X
  • TAN - Returns the tangent of X in radians