Skip to content

Commit

Permalink
Merge pull request #723 from jk-jeon/patch-1
Browse files Browse the repository at this point in the history
Fix a typo
  • Loading branch information
mborland authored Aug 26, 2024
2 parents 4554989 + d2105e4 commit 489e13b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/decimal/detail/remove_trailing_zeros.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ constexpr auto remove_trailing_zeros(std::uint64_t n) noexcept -> remove_trailin
s = s * 2U + static_cast<std::size_t>(b);
n = b ? r : n;

r = rotr<64>(n * UINT32_C(14757395258967641293), 1);
r = rotr<64>(n * UINT64_C(14757395258967641293), 1);
b = r < UINT64_C(1844674407370955162);
s = s * 2U + static_cast<std::size_t>(b);
n = b ? r : n;
Expand Down

0 comments on commit 489e13b

Please sign in to comment.