Skip to main content

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 » sin

sin

Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE

Function Syntax

double sin(double x);

Description

Calculates sine of x.

Parameters

Value in radians whose sine is to be calculated.

Return Values

Sine of x.

Example

double x;
x = sin(PI); // Result 0
cosexpsqrt