Namespaces | Functions | Variables
GteBitHacks.cpp File Reference
#include <GTEnginePCH.h>
#include <Mathematics/GteBitHacks.h>
Include dependency graph for GteBitHacks.cpp:

Go to the source code of this file.

Namespaces

 gte
 

Functions

GTE_IMPEXP int32_t gte::GetLeadingBit (uint32_t value)
 
GTE_IMPEXP int32_t gte::GetLeadingBit (int32_t value)
 
GTE_IMPEXP int32_t gte::GetLeadingBit (uint64_t value)
 
GTE_IMPEXP int32_t gte::GetLeadingBit (int64_t value)
 
GTE_IMPEXP int32_t gte::GetTrailingBit (uint32_t value)
 
GTE_IMPEXP int32_t gte::GetTrailingBit (int32_t value)
 
GTE_IMPEXP int32_t gte::GetTrailingBit (uint64_t value)
 
GTE_IMPEXP int32_t gte::GetTrailingBit (int64_t value)
 
GTE_IMPEXP bool gte::IsPowerOfTwo (uint32_t value)
 
GTE_IMPEXP bool gte::IsPowerOfTwo (int32_t value)
 
GTE_IMPEXP uint32_t gte::Log2OfPowerOfTwo (uint32_t powerOfTwo)
 
GTE_IMPEXP int32_t gte::Log2OfPowerOfTwo (int32_t powerOfTwo)
 
GTE_IMPEXP uint32_t gte::RoundDownToPowerOfTwo (uint32_t value)
 
GTE_IMPEXP uint64_t gte::RoundUpToPowerOfTwo (uint32_t value)
 

Variables

static int32_t const gte::gsLeadingBitTable [32]
 
static int32_t const gte::gsTrailingBitTable [32]
 


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:02