Project
Loading...
Searching...
No Matches
o2::data_compression::getmax< T, nbits > Struct Template Reference

Get maximum of an n-bit number. More...

#include <dc_primitives.h>

Static Public Attributes

static T const value = getmax<T, nbits - 1>::value << 1 | 1
 

Detailed Description

template<typename T, std::size_t nbits>
struct o2::data_compression::getmax< T, nbits >

Get maximum of an n-bit number.

Example usage: getmax<uint16_t, 13>

Definition at line 55 of file dc_primitives.h.

Member Data Documentation

◆ value

template<typename T , std::size_t nbits>
T const o2::data_compression::getmax< T, nbits >::value = getmax<T, nbits - 1>::value << 1 | 1
static

Definition at line 56 of file dc_primitives.h.


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