Skip to content

Commit f31cfbf

Browse files
committed
fix
1 parent 060b0ad commit f31cfbf

File tree

1 file changed

+2
-2
lines changed
  • include/fast_io_core_impl/bitops

1 file changed

+2
-2
lines changed

include/fast_io_core_impl/bitops/rtz.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ inline constexpr ::fast_io::bitops::rtz_result<T> rtz_impl(T n) noexcept
118118
s += b;
119119
n = b ? r : n;
120120

121-
/// @todo error?
121+
// c1 == d1 == 42949673u
122122
constexpr ::std::uint_least32_t d1{42949673u};
123123
r = ::std::rotr(static_cast<std::uint32_t>(n * d1), 2);
124124
b = r < d1;
@@ -202,4 +202,4 @@ inline constexpr ::fast_io::bitops::rtz_result<T> rtz(T n) noexcept
202202
return ::fast_io::bitops::details::rtz_impl<false>(n);
203203
}
204204

205-
} // namespace fast_io::bitops
205+
} // namespace fast_io::bitops

0 commit comments

Comments
 (0)