Computes the the Wright \(\omega\) the inverse function of \( x \rightarrow \log
x+x\).
The value of the Wright \(\omega\) function is returned.
#include <eve/module/special.hpp>
#include <eve/wide.hpp>
#include <iostream>
int main()
{
wide_ft pf = {-10.0, -2.0, -0.5, 0.0, 0.2, 0.5, 10.0, 100.0};
std::cout << "---- simd" << '\n'
<< "<- pf = " << pf << '\n'
<<
"-> eve::omega(pf) = " <<
eve::omega(pf) <<
'\n'
;
float xf = -0.2f;
std::cout << "---- scalar" << '\n'
<< "<- xf = " << xf << '\n'
<<
"-> eve::omega(xf) = " <<
eve::omega(xf)<<
'\n';
return 0;
}
Wrapper for SIMD registers.
Definition: wide.hpp:65