Callable object computing the constant \(\pi/4\).
Defined in Header
#include <eve/module/math.hpp>
{
template< eve::value T >
}
constexpr callable_pio_4_ pio_4
Callable object computing the constant .
Definition: pio_4.hpp:49
Definition: all_of.hpp:22
Lightweight type-wrapper.
Definition: as.hpp:29
Parameters
x
: Type wrapper instance embedding the type of the constant.
Return value
The call eve::pio_4(as<T>())
returns \(\pi/4\).
#include <eve/module/math.hpp>
#include <eve/wide.hpp>
#include <iostream>
#include <iomanip>
int main()
{
wide_ft wxf;
std::cout << "---- simd" << std::setprecision(9) << std::endl
double xf;
std::cout << "---- scalar" << std::endl
return 0;
}
Wrapper for SIMD registers.
Definition: wide.hpp:65