Om  1.0.0
A universal framework for multimedia simulation
Namespaces | Functions
omPrimes.h File Reference
#include "omMathConfig.h"

Namespaces

 om
 The enclosing namespace for the entire Om library.
 
 om::math
 A namespace containing classes and functions that do fast math operations.
 

Functions

template<typename T >
om::math::nextPowerOf2Prime (T value)
 Return a prime number larger than the specified value, but smaller than the next power of two. More...
 
template<>
unsigned int om::math::nextPowerOf2Prime (unsigned int value)
 
template<>
unsigned long om::math::nextPowerOf2Prime (unsigned long value)
 
template<>
unsigned long long om::math::nextPowerOf2Prime (unsigned long long value)