Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
std::overflow_error (a derived class from std::runtime_error) is thrown if a 'mathematical overflow occurs'. I did not yet succeed in producing such a mathematical overflow.
#include <cmath> |
Screen output:
-nan |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.