# null

# arctan

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

## Function Syntax

```plaintext
double arctan(double x);
```

## Description

Calculates arctangent of x.

## Parameters

* **x**: Value whose arctangent is to be calculated.

## Return Values

Arcus Tangent of x.

## Example

```plaintext
double x;
x = arctan(0); // result 0
x = arctan(1); // result PI/4
```

[arccos](CAPLfunctionarccos.md) • [arcsin](CAPLfunctionarcsin.md)
