#include <eve/module/core.hpp>
#include <iostream>
int main()
{
std::cout << "<- pi = " << pi << '\n';
std::cout <<
"-> bit_flip(pi, 1) = " <<
eve::bit_flip(pi, 1) <<
'\n';
std::cout <<
"-> bit_flip(pi, 2) = " <<
eve::bit_flip(pi, 2) <<
'\n';
std::cout <<
"-> bit_flip(pi, 3) = " <<
eve::bit_flip(pi, 3) <<
'\n';
std::cout <<
"-> bit_flip(pi, 4) = " <<
eve::bit_flip(pi, 4) <<
'\n';
std::cout <<
"-> bit_flip(pi, 8) = " <<
eve::bit_flip(pi, 8) <<
'\n';
std::cout <<
"-> bit_flip[pi > 15](pi, 1) = " <<
eve::bit_flip[pi > 15](pi, 1) <<
'\n';
std::cout <<
"-> bit_flip[pi > 15](pi, 2) = " <<
eve::bit_flip[pi > 15](pi, 2) <<
'\n';
std::cout <<
"-> bit_flip[pi > 15](pi, 3) = " <<
eve::bit_flip[pi > 15](pi, 3) <<
'\n';
std::cout <<
"-> bit_flip[pi > 15](pi, 4) = " <<
eve::bit_flip[pi > 15](pi, 4) <<
'\n';
std::cout <<
"-> bit_flip[pi > 15](pi, 8) = " <<
eve::bit_flip[pi > 15](pi, 8) <<
'\n';
}
constexpr auto pi
Callable object computing the constant .
Definition pi.hpp:77
Wrapper for SIMD registers.
Definition wide.hpp:86