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 log (D float32 x, D float32 b)
 
template<domain D :shared3p , dim N>
D float64 log (D float64 x, D float64 b)
 
template<domain D :shared3p , dim N>
D fix32 log (D fix32 x, D fix32 b)
 
template<domain D :shared3p , dim N>
D fix64 log (D fix64 x, D fix64 b)
 

Detailed Description

Function for finding the logarithm of a value.

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

Function Documentation

◆ log() [1/4]

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

◆ log() [2/4]

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

◆ log() [3/4]

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

◆ log() [4/4]

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