LIBML  Version 3.2.4
LIBML DSP Software Library
Functions
Natural Logarithmic
Collaboration diagram for Natural Logarithmic:

Functions

f32_t tpt_log_f32 (f32_t aInData)
 Calculate the natural logarithm value of f32 input. More...
 
f64_t tpt_log_f64 (f64_t aInData)
 Calculate the natural logarithm value of f64 input. More...
 
q15_t tpt_log_q15 (q15_t aInData)
 Calculate the natural logarithm value of q15 input. More...
 
q31_t tpt_log_q31 (q31_t aInData)
 Calculate the natural logarithm value of q31 input. More...
 

Detailed Description

This function calculates the natural log value of the input value. The input value must large than zero.

TPT DSP library supports distinct natural logarithmic functions for single- and half-precision floating-point data types. These functions are introduced in the subsections below.

Function Documentation

◆ tpt_log_f32()

f32_t tpt_log_f32 ( f32_t  aInData)

Calculate the natural logarithm value of f32 input.

Parameters
[in]aInDatainput value
Returns
f32_t natural logarithm value of the input

◆ tpt_log_f64()

f64_t tpt_log_f64 ( f64_t  aInData)

Calculate the natural logarithm value of f64 input.

Parameters
[in]aInDatainput value
Returns
f64_t natural logarithm value of the input

◆ tpt_log_q15()

q15_t tpt_log_q15 ( q15_t  aInData)

Calculate the natural logarithm value of q15 input.

Parameters
[in]aInDatainput value
Returns
q15_t natural logarithm value of the input

◆ tpt_log_q31()

q31_t tpt_log_q31 ( q31_t  aInData)

Calculate the natural logarithm value of q31 input.

Parameters
[in]aInDatainput value
Returns
q31_t natural logarithm value of the input