#include <eve/module/math.hpp>
#include <iostream>
#include <iomanip>
int main()
{
eve::wide wf = { 5.0f, 2.0f, -1.0f, -2.0f, -5.0f, 1.001f, -1.0f, 0.0f};
std::cout << "<- wf = " << wf << "\n";
std::cout << std::setprecision(10);
std::cout <<
"-> asec(wf) = " <<
eve::asec(wf) <<
"\n";
std::cout <<
"-> asec[raw](wf) = " <<
eve::asec[eve::raw](wf) <<
"\n";
std::cout <<
"-> asec[wf != 2.0f](wf) = " <<
eve::asec[wf != 2.0f](wf) <<
"\n";
}
Conditional expression ignoring the k last lanes from a eve::simd_value.
Definition conditional.hpp:332
Wrapper for SIMD registers.
Definition wide.hpp:86