#include <MathFunctions.h>
◆ run_ceil()
template<typename BitsType >
748 bool power_of_two = (
x & (
x - 1)) == 0;
749 return x == 0 ? 0 : power_of_two ? (
n - 1) :
n;
const unsigned n
Definition: CG3DPackingUnitTest.cpp:11
EIGEN_DEVICE_FUNC int clz(BitsType bits)
Definition: MathFunctions.h:644
list x
Definition: plotDoE.py:28
static constexpr int kTotalBits
Definition: MathFunctions.h:745
◆ run_floor()
template<typename BitsType >
753 return x == 0 ? 0 :
n - 1;
◆ kTotalBits
template<typename BitsType >
The documentation for this struct was generated from the following file: