Skip to main content
Open topic with navigation CAPL Functions » General » Function Overview » _Log10

_Log10

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

Function Syntax

double _log10(double x);

Description

Calculates the logarithm to base 10.

Parameters

Value of which the logarithm shall be calculated.

Return Values

Logarithm of x (to base 10).

Example

double x;
x = _log10(100.0); // x == 2.0