#include <eve/module/math.hpp>
#include <iostream>
int main()
{
eve::wide wf = {0.0, 0.23, 0.3, 2.0, -0.0, -0.23, -0.3, -2.0};
wf *= 180;
std::cout << "<- wf = " << wf << "\n";
std::cout <<
"-> cscd(wf) = " <<
eve::cscd(wf) <<
"\n";
std::cout <<
"-> cscd[wf != -2.0f](wf) = " <<
eve::cscd[wf != -2.0f](wf) <<
"\n";
std::cout <<
"-> cscd[quarter_circle](wf)= " <<
eve::cscd[eve::quarter_circle](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