#include <eve/module/math.hpp>
#include <iostream>
int main()
{
eve::wide pf = {2.0f, 3.0f, -4.0f, 2.0f, 2.0f,
eve::wide qf = {4.0f, 1.0f, -1.0f, 0.5f, 0.0f, 2.0f, -3.0f, 2.5f};
std::cout << "<- pf = " << pf << "\n";
std::cout << "<- qf = " << qf << "\n";
std::cout <<
"-> pow_abs(pf, qf) = " <<
eve::pow_abs(pf, qf) <<
"\n";
std::cout <<
"-> pow_abs[qf > 0.0f](pf, qf) = " <<
eve::pow_abs[qf > 0.0f](pf, qf) <<
"\n";
std::cout <<
"-> pow_abs[raw](pf, qf) = " <<
eve::pow_abs[eve::raw](pf, qf) <<
"\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
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:86