#include #include #include int main() { // us locale works just fine as it does not introduce thousands separators //std::locale::global(std::locale("C")); // german locale does not work consistently std::locale::global(std::locale("de")); boost::multiprecision::uint128_t i(9999); boost::multiprecision::uint128_t j("9999999999999999"); // should display both numbers consistently w.r.t. thousands separator. Preferably respecting locale imbued. // instead it shows 9.999 // 9999999999999999 std::cout << i << std::endl << j << std::endl; }