Provides the smallest unsigned integer type that has at least minSize bits.
Example:
leastUnsignedInteger< 5 >::type a; // a is an 8-bit unsigned integer leastUnsignedInteger< 9 >::type b; // b is a 16-bit unsigned integer
#include <Uint.h>
Public Types | |
using | type = typename uintFromBitWidth< leastUnsignedIntegerBitWidth(minSize)>::type |
using walberla::math::leastUnsignedInteger< minSize >::type = typename uintFromBitWidth<leastUnsignedIntegerBitWidth(minSize)>::type |