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

Functions

template<domain D :shared3p , type T>
D T min (D T x)
 
template<domain D :shared3p >
D uint8 min (D uint8 x)
 
template<domain D :shared3p >
D uint16 min (D uint16 x)
 
template<domain D :shared3p >
D uint32 min (D uint32 x)
 
template<domain D :shared3p >
D uint min (D uint x)
 
template<domain D :shared3p >
D int8 min (D int8 x)
 
template<domain D :shared3p >
D int16 min (D int16 x)
 
template<domain D :shared3p >
D int32 min (D int32 x)
 
template<domain D :shared3p >
D int min (D int x)
 
template<domain D :shared3p >
D float32 min (D float32 x)
 
template<domain D :shared3p >
D float64 min (D float64 x)
 
template<domain D :shared3p >
D xor_uint8 min (D xor_uint8 x)
 
template<domain D :shared3p >
D xor_uint16 min (D xor_uint16 x)
 
template<domain D :shared3p >
D xor_uint32 min (D xor_uint32 x)
 
template<domain D :shared3p >
D xor_uint64 min (D xor_uint64 x)
 
template<domain D :shared3p >
D fix32 min (D fix32 x)
 
template<domain D :shared3p >
D fix64 min (D fix64 x)
 

Detailed Description

Function for finding the minimum element of the input vector.

Note
D - shared3p protection domain
Supported types - uint8 / uint16 / uint32 / uint / int8 / int16 / int32 / int / xor_uint8 / xor_uint16 / xor_uint32 / xor_uint64 / fix32 / fix64
Parameters
x- input
Returns
minimum element of the input vector.
Precondition
input vector is not empty
Leakage
None

Function Documentation

◆ min() [1/17]

template<domain D :shared3p >
D fix32 min ( D fix32  x)

◆ min() [2/17]

template<domain D :shared3p >
D fix64 min ( D fix64  x)

◆ min() [3/17]

template<domain D :shared3p >
D float32 min ( D float32  x)

◆ min() [4/17]

template<domain D :shared3p >
D float64 min ( D float64  x)

◆ min() [5/17]

template<domain D :shared3p >
D int min ( D int  x)

◆ min() [6/17]

template<domain D :shared3p >
D int16 min ( D int16  x)

◆ min() [7/17]

template<domain D :shared3p >
D int32 min ( D int32  x)

◆ min() [8/17]

template<domain D :shared3p >
D int8 min ( D int8  x)

◆ min() [9/17]

template<domain D :shared3p , type T>
D T min ( D T  x)

◆ min() [10/17]

template<domain D :shared3p >
D uint min ( D uint  x)

◆ min() [11/17]

template<domain D :shared3p >
D uint16 min ( D uint16  x)

◆ min() [12/17]

template<domain D :shared3p >
D uint32 min ( D uint32  x)

◆ min() [13/17]

template<domain D :shared3p >
D uint8 min ( D uint8  x)

◆ min() [14/17]

template<domain D :shared3p >
D xor_uint16 min ( D xor_uint16  x)

◆ min() [15/17]

template<domain D :shared3p >
D xor_uint32 min ( D xor_uint32  x)

◆ min() [16/17]

template<domain D :shared3p >
D xor_uint64 min ( D xor_uint64  x)

◆ min() [17/17]

template<domain D :shared3p >
D xor_uint8 min ( D xor_uint8  x)