Skip to content

Commit d2105e4

Browse files
authored
Fix a typo
Found in jk-jeon/dragonbox#66
1 parent 4554989 commit d2105e4

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)