#include <eve/module/math.hpp>
#include <iostream>
#include <iomanip>
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 << std::setprecision(10);
std::cout << "<- pf = " << pf << "\n";
std::cout << "<- qf = " << qf << "\n";
std::cout <<
"-> pow1p(pf, qf) = " <<
eve::pow1p(pf, qf) <<
"\n";
std::cout <<
"-> pow1p[qf > 0.0f](pf, qf) = " <<
eve::pow1p[qf > 0.0f](pf, qf) <<
"\n";
std::cout <<
"-> pow1p[raw](pf, qf) = " <<
eve::pow1p[eve::raw](pf, qf) <<
"\n";
}
constexpr auto nan
Computes the IEEE quiet NaN constant.
Definition nan.hpp:67
constexpr auto eps
Computes a constant to the machine epsilon.
Definition eps.hpp:73
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