#include <eve/module/core.hpp>
#include <eve/wide.hpp>
#include <iostream>
template<typename T>
int main()
{
wide_ft wxf;
wide_it wxi;
std::cout << "---- simd" << std::endl
double xf;
std::int16_t xi;
std::cout << "---- scalar" << std::endl
<<
"-> one(as<std::int16_t>()) = " <<
eve::one(
eve::as(std::int16_t())) << std::endl
std::cout << "-> constexpr one = " << constexpr_one<float>() << std::endl;
return 0;
}
auto else_(V const &v) const
Extends a conditional expression with an alternative value.
Definition conditional.hpp:111
Extensible wrapper for SIMD conditional.
Definition compress_copy_scalar.hpp:16
Wrapper for SIMD registers.
Definition wide.hpp:70