#include <cstddef>
#include <limits>
Include dependency graph for constants.h:
This graph shows which files directly or indirectly include this file:
Namespaces | |
namespace | atlas |
namespace | atlas::constants |
Classes | |
class | atlas::constants::BaseShift< n > |
class | atlas::constants::BaseShift< 1ul > |
class | atlas::constants::Bool< n > |
class | atlas::constants::Bool<(size_t) 0ul > |
Functions | |
void | atlas::constants::initConstants () |
Variables | |
const unsigned char | atlas::constants::ucharMax = std::numeric_limits<unsigned char>::max() |
const unsigned long | atlas::constants::ulongMax = std::numeric_limits<unsigned long>::max() |
const unsigned long | atlas::constants::charBits = std::numeric_limits<unsigned char>::digits |
const unsigned long | atlas::constants::longBits = std::numeric_limits<unsigned long>::digits |
const unsigned long | atlas::constants::sizeBits = std::numeric_limits<size_t>::digits |
const unsigned long | atlas::constants::hiBit = 1ul << longBits - 1ul |
const unsigned long | atlas::constants::firstChar = (1ul << charBits) - 1ul |
unsigned long | atlas::constants::bitMask [longBits] |
unsigned long | atlas::constants::twoBitMask [longBits >> 1] |
size_t | atlas::constants::firstbit [1<< charBits] |
size_t | atlas::constants::lastbit [1<< charBits] |
unsigned long | atlas::constants::leqMask [longBits] |
unsigned long | atlas::constants::lMask [longBits] |
const size_t | atlas::constants::RANK_MAX = 16ul |
const unsigned long | atlas::constants::posBits = longBits - 1ul |
const unsigned long | atlas::constants::baseBits = ~posBits |
const unsigned long | atlas::constants::baseShift = BaseShift<longBits>::value |