id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 12343,int128_t to int64_t cast error with apple clang,Linqing Feng ,John Maddock," {{{ #include #include #include int main() { boost::multiprecision::int128_t a = INT64_MIN; std::cout << a << "" "" << INT64_MIN << "" "" << static_cast(a) << "" "" << std::endl; return 0; } }}} With apple clang (xcode 7.3.1): ""clang++ -stdlib=libc++ -std=c++14 int128casterror.cpp -I/usr/local/include"" the output is -9223372036854775808 -9223372036854775808 '''-9223372036854775807''' , while the correct output should be ([http://ideone.com/3UhgWQ]): -9223372036854775808 -9223372036854775808 -9223372036854775808 ",Bugs,closed,Boost 1.62.0,multiprecision,Boost 1.61.0,Showstopper,fixed,,