◆ sqrt_2
Callable object computing the square root of 2 value. Required header:
Parameters
Return value the call ExampleSee it live on Compiler Explorer #include <eve/constant/sqrt_2.hpp>
#include <eve/wide.hpp>
#include <iostream>
using wide_ft = eve::wide<float>;
int main()
{
wide_ft wxf;
std::cout << "---- simd" << std::endl
double xf;
std::cout << "---- scalar" << std::endl
return 0;
}
constexpr callable_sqrt_2_ sqrt_2 Callable object computing the square root of 2 value. Definition: sqrt_2.hpp:54 |