CAPL Script

arctan

This reference collection includes Vector documentation reproduced with permission. Snippets may require configuration-specific symbols and are not all standalone programs. Sources and validation limits.

Syntax

double arctan(double x);

Function

Calculates arctangent of x.

Parameters

x Value whose arctangent is to be calculated.

Return Values

Arcus Tangent of x.

Reference example from the CANoe 12 help. Check the required configuration, database objects and API availability in your installed version; this is not a recorded compiler or runtime test.

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

arccos | arcsin