Computes the square of the absolute value of the parameter.
#include <eve/module/core.hpp>
#include <eve/wide.hpp>
#include <iostream>
int main()
{
wide_ft pf = {-1.0f, 2.0f, -3.0f, 182.0f};
std::cout << "---- simd" << '\n'
<< "<- pf = " << pf << '\n'
float xf = -32768.0f;
std::cout << "---- scalar" << '\n'
<< "<- xf = " << xf << '\n'
return 0;
}
Wrapper for SIMD registers.
Definition: wide.hpp:65