Static Public Member Functions | |
static int32 | FastIntRound (double x) |
static int64 | FastInt64Round (double x) |
static double | NaN () |
static double | Harmonic (int64 n, double *e) |
static double | Stirling (double n) |
static double | LogCombinations (int n, int k) |
static float | RoundOffBits (const float f, const int bits) |
static double | RoundOffBits (const double f, const int bits) |
template<typename T > | |
static T | Max (const T x, const T y) |
template<typename T > | |
static T | Min (const T x, const T y) |
template<typename T > | |
static T | Abs (const T x) |
template<typename T > | |
static MathLimits< T >::UnsignedType | AbsDiff (const T x, const T y) |
template<typename T > | |
static T | Sign (const T x) |
template<typename T > | |
static bool | WithinMargin (const T x, const T y, const T margin) |
template<typename T > | |
static bool | WithinFraction (const T x, const T y, const T fraction) |
template<typename T > | |
static bool | WithinFractionOrMargin (const T x, const T y, const T fraction, const T margin) |
template<typename T > | |
static bool | NearByMargin (const T x, const T y) |
template<typename T > | |
static bool | NearByFraction (const T x, const T y) |
template<typename T > | |
static bool | NearByFractionOrMargin (const T x, const T y) |
template<typename T > | |
static bool | AlmostEquals (const T x, const T y) |
template<typename T > | |
static const T & | Clamp (const T &low, const T &high, const T &value) |
template<typename T > | |
static void | ClampValue (const T &low, const T &high, T *value) |
Definition at line 22 of file mathutil.h.