The following crashes at runtime with SIGFPE with boost 1.69.0 #include <boost/rational.hpp> #include <numeric> int main() { auto i = std::numeric_limits<int>::min(); boost::rational<int> val(i, i); return 0; }