libfoedus-core
FOEDUS Core Library
const_div.hpp File Reference
#include <stdint.h>
#include "foedus/assert_nd.hpp"
#include "foedus/cxx11.hpp"
Include dependency graph for const_div.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  foedus::assorted::ConstDiv
 The pre-calculated p-m pair for optimized integer division by constant. More...
 

Namespaces

 foedus
 Root package of FOEDUS (Fast Optimistic Engine for Data Unification Services).
 
 foedus::assorted
 Assorted Methods/Classes that are too subtle to have their own packages.
 

Variables

const uint32_t foedus::assorted::kPower2To31 = 1U << 31
 
const uint64_t foedus::assorted::kPower2To63 = 1ULL << 63
 
const uint32_t foedus::assorted::kFull32Bits = 0xFFFFFFFF
 
const uint32_t foedus::assorted::kFull31Bits = 0x7FFFFFFF
 
const uint64_t foedus::assorted::kFull64Bits = 0xFFFFFFFFFFFFFFFFULL
 
const uint64_t foedus::assorted::kFull63Bits = 0x7FFFFFFFFFFFFFFFULL