GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 100.0% 2 / 0 / 2
Functions: 100.0% 2 / 0 / 2
Branches: -% 0 / 0 / 0

src/bit/lowbit/lib.hpp
Line Branch Exec Source
1 #pragma once
2
3 #include "../../util/util/lib.hpp"
4
5 namespace tifa_libs {
6
7 template <class T>
8 2360836830 CEXP T lowbit(T x) NE { return T(1) << std::countr_zero(x); }
9
10 } // namespace tifa_libs
11