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