We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2ba0dd commit ec39f78Copy full SHA for ec39f78
include/boost/int128/cstdlib.hpp
@@ -76,7 +76,7 @@ constexpr i128div_t div(const int128_t x, const int128_t y) noexcept
76
const auto unsigned_res {div(abs_lhs, abs_rhs)};
77
78
79
- const auto negative_quot {(lhs.high < 0) != (rhs.high < 0)};
+ const auto negative_quot {(x.high < 0) != (y.high < 0)};
80
#if defined(_MSC_VER) && !defined(__GNUC__)
81
const auto negative_rem {static_cast<bool>(x.high < 0)};
82
#else
0 commit comments