CMS 3D CMS Logo

lat::BitOpsLog2< B > Struct Template Reference

Helper to compute the log2 base of n; c is the result accumulator. More...

#include <Iguana/Utilities/classlib/utils/BitOps.h>


Classes

struct  Op


Detailed Description

template<unsigned int B>
struct lat::BitOpsLog2< B >

Helper to compute the log2 base of n; c is the result accumulator.

[FIXME: explain how.] [FIXME: is this really efficient? with the condtional code we might just as well have a small tight loop... or inline asm]

Definition at line 231 of file BitOps.h.


The documentation for this struct was generated from the following file:
Generated on Tue Jun 9 18:48:21 2009 for CMSSW by  doxygen 1.5.4