#include <eve/module/core.hpp>
#include <iostream>
#include <iomanip>
{
eve::wide wf0{0.01, 1.01, 2.01, 3.01, -1.01, -2.01, -3.01, -4.01};
eve::wide wf1{0.01, -4.01, 1.01, -1.01, 2.01, -2.01, 3.01, -3.01};
std::cout <<
"<- wf0 = " <<
wf0 <<
"\n";
std::cout <<
"<- wf1 = " <<
wf1 <<
"\n";
std::cout <<
"<- wi0 = " <<
wi0 <<
"\n";
std::cout <<
"<- wi1 = " <<
wi1 <<
"\n";
std::cout <<
"<- wu0 = " <<
wu0 <<
"\n";
std::cout <<
"<- wu1 = " <<
wu1 <<
"\n";
std::cout <<
"-> manhattan[pedantic](wf0, wf1) = " <<
eve::manhattan[eve::pedantic](
wf0,
wf1) <<
"\n";
std::cout << std::hexfloat;
std::cout <<
"-> manhattan[lower][strict](wf0, wf1) = " <<
eve::manhattan[eve::lower][eve::strict](
wf0,
wf1) <<
"\n";
std::cout <<
"-> manhattan[upper][strict](wf0, wf1) = " <<
eve::manhattan[eve::upper][eve::strict](
wf0,
wf1) <<
"\n";
std::cout <<
"-> manhattan[kahan](tup) = " <<
eve::manhattan[eve::kahan](
tup) <<
"\n";
}
constexpr auto manhattan
tuple_callable object computing the manhattan norm ( ) of its arguments.
Definition manhattan.hpp:99
constexpr auto eps
Computes a constant to the machine epsilon.
Definition eps.hpp:74
typename decltype(detail::as_translated_type(as< T >{}))::type translate_t
Returns the final translated type of T.
Definition translation.hpp:107
Conditional expression ignoring the k last lanes from a eve::simd_value.
Definition conditional.hpp:320
Wrapper for SIMD registers.
Definition wide.hpp:94