You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @brief Takes the binary representation of `value` as a string of `Bits` bits and returns a value of the same type resulting from reversing the string
15
+
*
16
+
* @tparam T Type of the value to operate on.
17
+
* @tparam Bits The length of the string of bits used to represent `value`.
template<typename T NBL_FUNC_REQUIRES(is_unsigned_v<T>)
27
+
/**
28
+
* @brief Takes the binary representation of `value` and returns a value of the same type resulting from reversing the string of bits as if it was `bits` long.
29
+
* Keep in mind `bits` cannot exceed `8 * sizeof(T)`.
30
+
*
31
+
* @tparam T type of the value to operate on.
32
+
*
33
+
* @param [in] value The value to bitreverse.
34
+
* @param [in] bits The length of the string of bits used to represent `value`.
0 commit comments