Eigen::internal::meta_floor_log2_selector< n, lower, upper > Struct Template Reference

#include <MathFunctions.h>

Public Types

enum  { middle = (lower + upper) / 2 , value }
 

Member Enumeration Documentation

◆ anonymous enum

template<unsigned int n, int lower, int upper>
anonymous enum
Enumerator
middle 
value 
570  {
571  middle = (lower + upper) / 2,
572  value = (upper <= lower + 1) ? int(meta_floor_log2_terminate)
573  : (n < (1 << middle)) ? int(meta_floor_log2_move_down)
574  : (n == 0) ? int(meta_floor_log2_bogus)
576  };
const unsigned n
Definition: CG3DPackingUnitTest.cpp:11
return int(ret)+1
@ meta_floor_log2_terminate
Definition: MathFunctions.h:566
@ meta_floor_log2_move_up
Definition: MathFunctions.h:566
@ meta_floor_log2_move_down
Definition: MathFunctions.h:566
@ meta_floor_log2_bogus
Definition: MathFunctions.h:566
std::string lower(std::string s)
returns the input string after converting upper-case characters to lower case
Definition: StringHelpers.cc:11
@ value
Definition: MathFunctions.h:572
@ middle
Definition: MathFunctions.h:571

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