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

Functions

template<domain D :shared3p >
D float32 ceiling (D float32 value)
 
template<domain D :shared3p >
D float64 ceiling (D float64 value)
 

Detailed Description

Functions for rounding a value upwards.

Note
D - shared3p protection domain
Supported types - float32 float64
Returns
returns the upwards rounded value of the input scalar/vector
Leakage
None

Function Documentation

◆ ceiling() [1/2]

template<domain D :shared3p >
D float32 ceiling ( D float32  arr)
Parameters
value- input scalar of supported type
arr- input vector of supported type

◆ ceiling() [2/2]

template<domain D :shared3p >
D float64 ceiling ( D float64  value)