Documentation Index
Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Open topic with navigation
CAPL Functions » General » Function Overview » cos
cos
Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE
Function Syntax
Description
Calculates cosine of x.
Parameters
Value in radians whose cosine is to be calculated.
Return Values
Cosine of x.
Example
double x;
x = cos(PI); // result -1
or
double tangens(double x) {
return sin(x) / cos(x);
}
sin • sqrt • exp