We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 060b0ad commit f31cfbfCopy full SHA for f31cfbf
include/fast_io_core_impl/bitops/rtz.h
@@ -118,7 +118,7 @@ inline constexpr ::fast_io::bitops::rtz_result<T> rtz_impl(T n) noexcept
118
s += b;
119
n = b ? r : n;
120
121
- /// @todo error?
+ // c1 == d1 == 42949673u
122
constexpr ::std::uint_least32_t d1{42949673u};
123
r = ::std::rotr(static_cast<std::uint32_t>(n * d1), 2);
124
b = r < d1;
@@ -202,4 +202,4 @@ inline constexpr ::fast_io::bitops::rtz_result<T> rtz(T n) noexcept
202
return ::fast_io::bitops::details::rtz_impl<false>(n);
203
}
204
205
-} // namespace fast_io::bitops
+} // namespace fast_io::bitops
0 commit comments