RDK Documentation (Open Sourced RDK Components)
uint33_t.h File Reference

Custom int variable to handle 33 bit. More...

#include <cassert>
#include <cstdint>
#include <limits>
Include dependency graph for uint33_t.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  uint33_t
 Uint with size of 33 bits. More...
 

Functions

constexpr uint33_t operator+ (const uint33_t &l, const uint33_t &r)
 
constexpr uint33_t operator- (const uint33_t &l, const uint33_t &r)
 
constexpr bool operator< (const uint33_t &l, const uint33_t &r)
 
constexpr bool operator> (const uint33_t &l, const uint33_t &r)
 
constexpr bool operator== (const uint33_t &l, const uint33_t &r)
 
constexpr bool operator!= (const uint33_t &l, const uint33_t &r)
 
template<typename Integer >
constexpr bool operator== (const uint33_t &l, const Integer &r)
 
template<typename Integer >
constexpr bool operator!= (const uint33_t &l, const Integer &r)
 
template<typename Integer >
constexpr bool operator== (const Integer &l, const uint33_t &r)
 
template<typename Integer >
constexpr bool operator!= (const Integer &l, const uint33_t &r)
 

Variables

constexpr uint33_t test_variables::max_val {0x1ffffffff}
 
constexpr uint33_t test_variables::from_max_u64 {std::numeric_limits<uint64_t>::max()}
 
constexpr uint33_t test_variables::big_val {0x1fffffffc}
 
constexpr uint33_t test_variables::two {2}
 
constexpr uint33_t test_variables::three {3}
 
constexpr uint33_t test_variables::four {4}
 
constexpr uint33_t test_variables::seven {7}
 
constexpr uint33_t test_variables::zero {0}
 

yes

Custom int variable to handle 33 bit.

Definition in file uint33_t.h.