HDK
|
Go to the source code of this file.
Classes | |
struct | Tf_NumBits< N, SUM, BIT > |
struct | Tf_NumBits< N, SUM, 0 > |
Macros | |
#define | TF_BITS_FOR_VALUES(n) |
#define | TF_BITS_FOR_ENUM_VALUES(n) |
#define TF_BITS_FOR_ENUM_VALUES | ( | n | ) |
Compute the number of bits required to store the given number of (signed) enum values.
Definition at line 77 of file bitUtils.h.
#define TF_BITS_FOR_VALUES | ( | n | ) |
Compute the number of bits required to store the given number of values.
Note that the computed result for a number smaller or equal to zero is undefined. The input number can be any compile-time constant.
Definition at line 44 of file bitUtils.h.