От: | DiPaolo | ||
Дата: | 14.08.22 14:52 | ||
Оценка: | 3 (1) |
(https://en.cppreference.com/w/cpp/error/overflow_error)The mathematical functions of the standard library components do not throw this exception (mathematical functions report overflow errors as specified in math_errhandling). Third-party libraries, however, use this. For example, boost.math throws std::overflow_error if boost::math::policies::throw_on_error is enabled (the default setting).