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