Compute Library
 21.05
bit_ops.h File Reference
#include "support/Requires.h"
#include <type_traits>

Go to the source code of this file.

Namespaces

 arm_compute
 Copyright (c) 2017-2021 Arm Limited.
 
 arm_compute::helpers
 
 arm_compute::helpers::bit_ops
 

Functions

template<typename T , ARM_COMPUTE_REQUIRES_TA(std::is_integral< T >::value) >
bool is_bit_set (T v, unsigned int idx)
 Checks if the idx-th bit is set in an integral type. More...