Additional approximate, fused, integral-classification, and complex operations.
More...
|
| template<vec_complex _Vc> |
| _Vc | xvec::simd::ceil (const _Vc &value) |
| | Round the real and imaginary components of each element upward.
|
| template<vec_complex _Vc> |
| _Vc | xvec::simd::floor (const _Vc &value) |
| | Round the real and imaginary components of each element downward.
|
| template<vec_complex _Vc> |
| _Vc | xvec::simd::trunc (const _Vc &value) |
| | Truncate the real and imaginary components of each element.
|
| template<vec_complex _Vc> |
| _Vc | xvec::simd::round (const _Vc &value) |
| | Apply round independently to the real and imaginary components.
|
| template<vec_signed_integral _Vp> |
| constexpr _Vp | xvec::simd::abs (const _Vp &v) |
| | Compute the absolute value of each signed-integral element.
|
| template<detail::math_floating_point _Vp> |
| constexpr detail::deduced_vec_t< _Vp > | xvec::simd::rcp (const _Vp &v) |
| | Compute the approximate reciprocal of each element.
|
| template<detail::math_floating_point _Vp> |
| constexpr detail::deduced_vec_t< _Vp > | xvec::simd::rsqrt (const _Vp &v) |
| | Compute the approximate reciprocal square root of each element.
|
| template<vec_complex _Vp> |
| constexpr _Vp | xvec::simd::fma (const _Vp &lhs, const _Vp &rhs, const _Vp &acc) |
| | Compute the complex multiply-add operation element-wise.
|
| template<detail::math_floating_point _Vp> |
| constexpr detail::deduced_vec_t< _Vp > | xvec::simd::fmaddsub (const _Vp &lhs, const _Vp &rhs, const _Vp &acc) |
| | Compute lhs * rhs - acc at even indexes and lhs * rhs + acc at odd indexes. Each expression is computed with a single rounding to the result type.
|
| template<detail::math_floating_point _Vp> |
| constexpr detail::deduced_vec_t< _Vp > | xvec::simd::fmsubadd (const _Vp &lhs, const _Vp &rhs, const _Vp &acc) |
| | Compute lhs * rhs + acc at even indexes and lhs * rhs - acc at odd indexes. Each expression is computed with a single rounding to the result type.
|
| template<vec_integral _Vp> |
| constexpr _Vp::mask_type | xvec::simd::signbit (const _Vp &v) |
| | Identify negative integral elements.
|
Additional approximate, fused, integral-classification, and complex operations.
These are xvec extensions, not a claim of adoption into a future standard.