simdpp::trunc
From cppreference.com
< fp
template<unsigned N, class E>
Ret<N, _DETAIL_> trunc( Vec<N,E> a ); |
||
Rounds the values in a floating-point vector towards zero. 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.
Contents |
Parameters
a | - | floating-point vector |
Return value
A vector expression evaluating to trunc(a)
.
Equivalent operation
r0 = trunc(a0) ... rN = trunc(aN)
See also
This section is incomplete |