12 #ifndef TOR_INTMATH_BITS_H
13 #define TOR_INTMATH_BITS_H
18 int tor_log2(uint64_t u64) ATTR_CONST;
int n_bits_set_u8(uint8_t v)
int tor_log2(uint64_t u64) ATTR_CONST
uint64_t round_to_power_of_2(uint64_t u64)
Utility macros to handle different features and behavior in different compilers.
Integer definitions used throughout Tor.