SecreC 2 language 2.9.0 (2026.10)
Language and standard library reference
Loading...
Searching...
No Matches
Functions

Functions

template<domain D :shared3p , dim N>
D float32 ln (D float32 x)
 
template<domain D :shared3p , dim N>
D float64 ln (D float64 x)
 
template<domain D :shared3p , dim N>
D fix32 ln (D fix32 x)
 
template<domain D :shared3p , dim N>
D fix64 ln (D fix64 x)
 

Detailed Description

Function for finding the natural logarithm of a value.

Note
D - shared3p protection domain
Supported types - float32 / float64 / fix32 / fix64
Returns
returns the natural logarithms of the input array
Leakage
None

Function Documentation

◆ ln() [1/4]

template<domain D :shared3p , dim N>
D fix32 ln ( D fix32  x)

◆ ln() [2/4]

template<domain D :shared3p , dim N>
D fix64 ln ( D fix64  x)

◆ ln() [3/4]

template<domain D :shared3p , dim N>
D float32 ln ( D float32  x)

◆ ln() [4/4]

template<domain D :shared3p , dim N>
D float64 ln ( D float64  x)