Contents | Prev | Next

7.2.16 The exp function

Description

The exp function returns the value of the mathematical constant e raised to a power. The type of the value returned by this function is always real.

Parameter

The exp function's only parameter is a numeric expression (i.e. an expression of integral type or of real type) which specifies the power to which e should be raised to.

Example

   exp(2)   returns   7.389...

Portability

Operating Systems: All
Standard Pascal: Yes

Contents | Prev | Next