#include <eve/module/math.hpp>
#include <iostream>
int main()
{
eve::wide wf = {0.0, 0.25, 0.5, 2.0, -0.0, -0.25,
std::cout << "<- wf = " << wf << "\n";
std::cout <<
"-> sinh(wf) = " <<
eve::sinh(wf) <<
"\n";
std::cout <<
"-> sinh[wf != -2.0f](wf) = " <<
eve::sinh[wf != -2.0f](wf) <<
"\n";
{
float const nan = std::numeric_limits<float>::quiet_NaN();
float buf[8] = {10.f, 0.f, -0.f, nan, 0.5f, 0.5f, 0.5f, 0.5f};
std::cout<<a<<std::endl;
std::cout << r << "\n";
}
{
float buf[8] = {10.f, 0.f, -0.f, 0.f, 0.5f, 0.5f, 0.5f, 0.5f};
std::cout<<a<<std::endl;
std::cout << r << "\n";
}
}
constexpr auto nan
Computes the IEEE quiet NaN constant.
Definition nan.hpp:67
Lightweight type-wrapper.
Definition as.hpp:29
Conditional expression ignoring the k last lanes from a eve::simd_value.
Definition conditional.hpp:361
Wrapper for SIMD registers.
Definition wide.hpp:94