#include <eve/module/math.hpp>
#include <iostream>
int main()
{
kumi::tuple wt{pf, qf};
std::cout << "<- pf = " << pf << "\n";
std::cout << "<- qf = " << qf << "\n";
std::cout << "<- rf = " << rf << "\n";
std::cout << "<- wt = " << wt << "\n";
std::cout <<
"-> hypot(pf,qf) = " <<
eve::hypot(pf,qf) <<
"\n";
std::cout <<
"-> hypot(wt) = " <<
eve::hypot(wt) <<
"\n";
std::cout <<
"-> hypot[pf > 0.0](pf,qf) = " <<
eve::hypot[pf > 0.0](pf,qf) <<
"\n";
std::cout <<
"-> hypot[pedantic](pf,qf) = " <<
eve::hypot[eve::pedantic](pf,qf) <<
"\n";
std::cout <<
"-> hypot(pf,qf,rf) = " <<
eve::hypot(pf,qf,rf) <<
"\n";
std::cout <<
"-> hypot[pedantic](pf,qf,rf) = " <<
eve::hypot[eve::pedantic](pf,qf,rf) <<
"\n";
}
constexpr auto valmax
Computes the the greatest representable value.
Definition: valmax.hpp:66
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:307
Wrapper for SIMD registers.
Definition: wide.hpp:93