#include <eve/module/math.hpp>
#include <iostream>
int main()
{
eve::wide wf = {0.0, 0.25, 0.4, 2.2, -0.0, -0.25, -0.4, -2.2};
std::cout << "<- wf = " << wf << "\n";
std::cout <<
"-> cot(wf) = " <<
eve::cot(wf) <<
"\n";
std::cout <<
"-> cot[wf > 0.0](wf) = " <<
eve::cot[wf > 0.0](wf) <<
"\n";
std::cout <<
"-> cot[quarter_circle](wf)= " <<
eve::cot[eve::quarter_circle](wf) <<
"\n";
std::cout <<
"-> cot[half_circle](wf) = " <<
eve::cot[eve::half_circle](wf) <<
"\n";
std::cout <<
"-> cot[full_circle](wf) = " <<
eve::cot[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