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

Detailed Description

Function for finding the square root of a value.

Note
D - shared3p protection domain
Supported types - float32 / float64 / fix32 / fix64
Parameters
x- input
Returns
the square roots of the input array
Leakage
None

Function Documentation

◆ sqrt() [1/4]

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

◆ sqrt() [2/4]

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

◆ sqrt() [3/4]

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

◆ sqrt() [4/4]

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