|
template<domain D :shared3p > |
D float32 | ceiling (D float32 value) |
|
template<domain D :shared3p > |
D float64 | ceiling (D float64 value) |
|
template<domain D :shared3p > |
D float32 | ceiling (D float32[[1]] arr) |
|
template<domain D :shared3p > |
D float64 | ceiling (D float64[[1]] arr) |
|
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
◆ ceiling() [1/4]
D float32 ceiling |
( |
D float32 |
value | ) |
|
- Parameters
-
value | - input scalar of supported type |
◆ ceiling() [2/4]
D float32 ceiling |
( |
D float32[[1]] |
arr | ) |
|
- Parameters
-
arr | - input vector of supported type |
◆ ceiling() [3/4]
D float64 ceiling |
( |
D float64 |
value | ) |
|
◆ ceiling() [4/4]
D float64 ceiling |
( |
D float64[[1]] |
arr | ) |
|