Callable object computing the simultaneous computation of sine an cosine from an argument in degrees.
{
template< eve::floating_value T >
kumi::tuple<T, T>
sindcosd(T x)
noexcept;
}
constexpr callable_sindcosd_ sindcosd
Callable object computing the simultaneous computation of sine an cosine from an argument in degrees.
Definition: sindcosd.hpp:66
#include <eve/module/math.hpp>
#include <eve/wide.hpp>
#include <iostream>
int main()
{
std::cout << "---- simd" << '\n'
<< "<- pf = " << pf << '\n'
<< "-> sindcosd(pf) = [" << '\n'
<< " " << s << ", \n"
<< " " << c << '\n'
<< " ]\n";
float xf = 2.3;
std::cout << "---- scalar" << '\n'
<< "<- xf = " << xf << '\n'
<< "-> sindcosd(xf) = [" << ss << ", " << sc << "]\n";
return 0;
}
constexpr callable_inf_ inf
Computes the infinity ieee value.
Definition: inf.hpp:58
Lightweight type-wrapper.
Definition: as.hpp:29
Wrapper for SIMD registers.
Definition: wide.hpp:65