Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

atlas::constants::BaseShift< n > Class Template Reference

Computes (in the constant BaseShift<n>::value) the base two logarithm of n. More...

#include <constants.h>

List of all members.

Static Public Attributes

const unsigned long value = 1ul + BaseShift<n/2ul>::value


Detailed Description

template<unsigned long n>
class atlas::constants::BaseShift< n >

Computes (in the constant BaseShift<n>::value) the base two logarithm of n.

This is used to to compute the base 2 logarithm of longBits at compile time.

Definition at line 114 of file constants.h.


Member Data Documentation

template<unsigned long n>
const unsigned long atlas::constants::BaseShift< n >::value = 1ul + BaseShift<n/2ul>::value [static]
 

Definition at line 116 of file constants.h.


The documentation for this class was generated from the following file:
Generated on Wed Mar 26 16:52:25 2008 for atlas by  doxygen 1.3.9.1