Om  1.0.0
A universal framework for multimedia simulation
Functions
om::math::detail Namespace Reference

Functions

template<typename T >
recursiveSquareRoot (T n, T x1)
 
template<typename T >
bool multWillOverflow (T a, T b)
 
template<typename T >
bool unsignedMultWillOverflow (T a, T b)
 
template<typename IntegerType >
IntegerType integerPower (IntegerType base, IntegerType power)
 
template<typename IntegerType >
IntegerType unsignedIntegerPower (IntegerType base, IntegerType power)
 
template<typename T , T base>
intLog (T value)
 

Function Documentation

template<typename T >
T om::math::detail::recursiveSquareRoot ( n,
x1 
)
inline
template<typename T >
bool om::math::detail::multWillOverflow ( a,
b 
)
inline
template<typename T >
bool om::math::detail::unsignedMultWillOverflow ( a,
b 
)
inline
template<typename IntegerType >
IntegerType om::math::detail::integerPower ( IntegerType  base,
IntegerType  power 
)
inline
template<typename IntegerType >
IntegerType om::math::detail::unsignedIntegerPower ( IntegerType  base,
IntegerType  power 
)
inline
template<typename T , T base>
T om::math::detail::intLog ( value)
inline