#include <hydra/detail/Config.h>
#include <hydra/detail/utility/Integer.h>
#include <climits>
#include <cstddef>
#include <limits>
Go to the source code of this file.
◆ HYDRA_LOW_BITS_MASK_SPECIALIZE
#define HYDRA_LOW_BITS_MASK_SPECIALIZE |
( |
|
Type | ) |
|
Value:template < >
struct low_bits_mask_t<
std::numeric_limits<Type>::digits > { \
typedef std::numeric_limits<Type> limits_type; \
typedef uint_t<limits_type::digits>::least least; \
typedef uint_t<limits_type::digits>::fast fast; \
static const least sig_bits = (~( least(0u) )) ; \
static const fast sig_bits_fast = fast(sig_bits) ; \
static const std::size_t bit_count = limits_type::digits ; \
}