#include #include using namespace boost::multiprecision; int main() { int128_t a = 0xfffffffeu; int128_t b = -2; int128_t c = a ^ b; int128_t d = ~(a ^ ~b); std::cout << "a is " << a << std::endl; std::cout << "b is " << b << std::endl; std::cout << "c is " << c << std::endl; std::cout << "d is " << d << std::endl; return 0; }