#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 <<
"-> cosh(wf) = " <<
eve::cosh(wf) <<
"\n";
std::cout <<
"-> cosh[wf > 0.0](wf) = " <<
eve::cosh[wf > 0.0](wf) <<
"\n";
}
constexpr auto nan
Computes the IEEE quiet NaN constant.
Definition nan.hpp:67
constexpr auto minf
Computes the -infinity ieee value.
Definition minf.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:70