#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 <<
"-> sec(wf) = " <<
eve::sec(wf) <<
"\n";
std::cout <<
"-> sec[wf > 0.0](wf) = " <<
eve::sec[wf > 0.0](wf) <<
"\n";
std::cout <<
"-> sec[quarter_circle](wf)= " <<
eve::sec[eve::quarter_circle](wf) <<
"\n";
std::cout <<
"-> sec[half_circle](wf) = " <<
eve::sec[eve::half_circle](wf) <<
"\n";
std::cout <<
"-> sec[full_circle](wf) = " <<
eve::sec[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