simdpp::ceil

From libsimdpp-docs
< fp
template<unsigned N, class E>
Ret<N, _DETAIL_> ceil( Vec<N,E> a );

Rounds the values in a floating-point vector towards positive infinity. The implementation behaves as if the following set of overloads is provided:

Ret Vec
float32 float32
float64 float64

The return type is a vector expression.

Parameters[edit]

a - floating-point vector

Return value[edit]

A vector expression evaluating to ceil(a).

Equivalent operation[edit]

r0 = ceil(a0)
...
rN = ceil(aN)

See also[edit]