#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};
std::cout << "<- wf = " << wf << "\n";
std::cout <<
"-> csc(wf) = " <<
eve::csc(wf) <<
"\n";
std::cout <<
"-> csc[wf != -2.0f](wf) = " <<
eve::csc[wf != -2.0f](wf) <<
"\n";
std::cout <<
"-> csc[quarter_circle](wf)= " <<
eve::csc[eve::quarter_circle](wf) <<
"\n";
std::cout <<
"-> csc[half_circle](wf) = " <<
eve::csc[eve::half_circle](wf) <<
"\n";
std::cout <<
"-> csc[full_circle](wf) = " <<
eve::csc[eve::full_circle](wf) <<
"\n";
}
constexpr auto pi
Callable object computing the constant .
Definition pi.hpp:77
Lightweight type-wrapper.
Definition as.hpp:29
Conditional expression ignoring the k last lanes from a eve::simd_value.
Definition conditional.hpp:332
Wrapper for SIMD registers.
Definition wide.hpp:70