#include <eve/module/core.hpp>
#include <eve/wide.hpp>
#include <iostream>
int main()
{
std::cout << "---- simd" << '\n'
<< "<- pf = " << pf << '\n'
<<
"-> sqrt[pf > 0](pf)= " <<
eve::sqrt[pf > 0](pf) <<
'\n';
float xf = 32.768f;
std::cout << "---- scalar" << '\n'
<< "<- xf = " << xf << '\n'
<<
"-> sqrt(xf) = " <<
eve::sqrt(xf) <<
'\n';
return 0;
}
constexpr auto inf
Computes the infinity ieee value.
Definition: inf.hpp:70
constexpr raw_type const raw
Higher-order Callable Object imbuing quick and dirty behaviour onto other Callable Objects.
Definition: raw.hpp:43
Lightweight type-wrapper.
Definition: as.hpp:29
Wrapper for SIMD registers.
Definition: wide.hpp:65