Callable object computing arc tangent in \(\pi\) multiples.
{
template< eve::floating_value T >
template< eve::floating_value T >
}
constexpr callable_atanpi_ atanpi
Callable object computing arc tangent in multiples.
Definition: atanpi.hpp:67
constexpr callable_acospi_ acospi
Callable object computing the arc cosine in multiples.
Definition: acospi.hpp:68
SIMD-compatible representation of complex numbers.
Definition: complex.hpp:39
#include <eve/module/math.hpp>
#include <eve/wide.hpp>
#include <iostream>
int main()
{
wide_ft pf = { 0.0f, 1.0f, -1.0f, -0.5f};
std::cout
<< "---- simd" << '\n'
<< "<- pf = " << pf << '\n'
float xf = 1.0f;
float yf = -2.0f;
std::cout
<< "---- scalar" << '\n'
<< "<- xf = " << xf << '\n'
<< "<- yf = " << yf << '\n'
return 0;
}
Wrapper for SIMD registers.
Definition: wide.hpp:65