Project
Loading...
Searching...
No Matches
o2::data_compression::upperbinarybound< n > Struct Template Reference

Get the upper binary bound of a number The gives the number of bits required to present a number. More...

#include <dc_primitives.h>

Static Public Attributes

static std::size_t const value = upperbinarybound<(n >> 1)>::value + 1
 

Detailed Description

template<std::size_t n>
struct o2::data_compression::upperbinarybound< n >

Get the upper binary bound of a number The gives the number of bits required to present a number.

Usage: upperbinarybound<number>::value

Definition at line 83 of file dc_primitives.h.

Member Data Documentation

◆ value

template<std::size_t n>
std::size_t const o2::data_compression::upperbinarybound< n >::value = upperbinarybound<(n >> 1)>::value + 1
static

Definition at line 84 of file dc_primitives.h.


The documentation for this struct was generated from the following file: