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

sqrt

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

Function Syntax

double sqrt(double x);

Description

Calculates the square root.

Parameters

Value whose square root is to be calculated.

Return Values

Square root of x.

Example

double x;
x = sqrt(4.0); // Result 2.0
cosexpsin