![]() |
Project
|
Get maximum of an n-bit number. More...
#include <dc_primitives.h>
Static Public Attributes | |
static T const | value = getmax<T, nbits - 1>::value << 1 | 1 |
Get maximum of an n-bit number.
Example usage: getmax<uint16_t, 13>
Definition at line 55 of file dc_primitives.h.
|
static |
Definition at line 56 of file dc_primitives.h.