| 43 | */ |
| 44 | template <typename T, ARM_COMPUTE_REQUIRES_TA(std::is_integral<T>::value)> |
| 45 | bool is_bit_set(T v, unsigned int idx) |
| 46 | { |
| 47 | return (v & 1 << idx) != 0; |
| 48 | } |
| 49 | } // namespace bit_ops |
| 50 | } // namespace helpers |
| 51 | } // namespace arm_compute |
no outgoing calls
no test coverage detected