Skip to content

Commit fee3b43

Browse files
committed
Fix re-declared variable
1 parent f7f8328 commit fee3b43

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/boost/int128/detail/uint128_imp.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2321,12 +2321,12 @@ BOOST_INT128_FORCE_INLINE uint128_t msvc_mul(const uint128_t lhs, const std::uin
23212321
BOOST_INT128_FORCE_INLINE uint128_t msvc_mul(const uint128_t lhs, const uint128_t rhs) noexcept
23222322
{
23232323
const auto low_low{lhs.low * rhs.low};
2324-
const auto high_low{__umulh(lhs.low, rhs.low)};
2324+
const auto high_low_low{__umulh(lhs.low, rhs.low)};
23252325

23262326
const auto low_high{lhs.low * rhs.high};
23272327
const auto high_low{lhs.high * rhs.low};
23282328

2329-
const auto high{high_low + low_hi + hi_low};
2329+
const auto high{high_low + low_high + high_low_low};
23302330

23312331
return {high, low_low};
23322332
}

0 commit comments

Comments
 (0)