| 31 | // TODO: move this to fl/math.h |
| 32 | template<typename IntType> |
| 33 | inline fl::u8 popcount(IntType value) FL_NOEXCEPT { |
| 34 | return static_cast<fl::u8>(__builtin_popcount(value)); |
| 35 | } |
| 36 | |
| 37 | template<typename IntType> |
| 38 | inline fl::u8 countr_zero(IntType value) FL_NOEXCEPT { |
no outgoing calls
no test coverage detected