Callable object computing the remainder of the division by \(\pi/2\).
{
template< eve::floating_value T >
kumi::tuple<eve::as_integer<T>, T, T>
rempio2(T x)
noexcept;
}
constexpr callable_rempio2_ rempio2
Callable object computing the remainder of the division by .
Definition: rempio2.hpp:74
Definition: all_of.hpp:22
#include <eve/module/math.hpp>
#include <eve/wide.hpp>
#include <iostream>
int main()
{
std::cout << "---- simd" << '\n'
<< "<- pf = " << pf << '\n'
<< "-> rempio2(pf) = [" << '\n'
<< " " << n << ", \n"
<< " " << x << '\n'
<< " " << dx << '\n'
<< " ]\n";
float xf = 2.3;
std::cout << "---- scalar" << '\n'
<< "<- xf = " << xf << '\n'
<< "-> rempio2(xf) = [" << sn << ", " << sx << ", " << sdx << "]\n";
return 0;
}
constexpr callable_pi_ pi
Callable object computing the constant .
Definition: pi.hpp:49
Lightweight type-wrapper.
Definition: as.hpp:29
Wrapper for SIMD registers.
Definition: wide.hpp:65