Skip to content

Commit 489e13b

Browse files
authored
Merge pull request #723 from jk-jeon/patch-1
Fix a typo
2 parents 4554989 + d2105e4 commit 489e13b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/boost/decimal/detail/remove_trailing_zeros.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ constexpr auto remove_trailing_zeros(std::uint64_t n) noexcept -> remove_trailin
8787
s = s * 2U + static_cast<std::size_t>(b);
8888
n = b ? r : n;
8989

90-
r = rotr<64>(n * UINT32_C(14757395258967641293), 1);
90+
r = rotr<64>(n * UINT64_C(14757395258967641293), 1);
9191
b = r < UINT64_C(1844674407370955162);
9292
s = s * 2U + static_cast<std::size_t>(b);
9393
n = b ? r : n;

0 commit comments

Comments
 (0)