# null

[Open topic with navigation](../../../../../CANoeDEFamily.htm#Topics/CAPLFunctions/Other/Functions/CAPLfunctionExp.md)

[CAPL Functions](../../CAPLfunctions.md) » [General](../CAPLGeneralStartPage.md) » [Function Overview](../CAPLfunctionsGeneralOverview.md) » exp

# exp

[Valid for](../../../Shared/FeatureAvailability.md): CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE

## Function Syntax

```plaintext
double exp(double x);
```

## Description

Calculates the exponential function.

## Parameters

Value whose exponent is to be calculated.

## Return Values

Exponent to base **e**.

## Example

```plaintext
double x;
x = exp(5);
write("Exponent of 5: %f",x); // Result: 148.413159
```

[cos](CAPLfunctionCos.md) • [sin](CAPLfunctionSin.md) • [sqrt](CAPLfunctionSqrt.md)
