#include <eve/module/math.hpp>
#include <iostream>
int main()
{
eve::wide wf = {0.0, 1.0, 2.0, 20.0, 100.0, 1000.0,
std::cout << "<- wf = " << wf << "\n";
std::cout <<
"-> sinc(wf) = " <<
eve::sinc(wf) <<
"\n";
std::cout <<
"-> sinc[wf != 2.0f](wf) = " <<
eve::sinc[wf != 2.0f](wf) <<
"\n";
}
constexpr auto nan
Computes the IEEE quiet NaN constant.
Definition nan.hpp:67
constexpr auto inf
Computes the infinity ieee value.
Definition inf.hpp:66
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:86