Definition at line 29 of file mathutil.h.
|
template<typename IntegralType > |
static IntegralType | CeilOfRatio (IntegralType numerator, IntegralType denominator) |
|
template<typename IntegralType > |
static IntegralType | FloorOfRatio (IntegralType numerator, IntegralType denominator) |
|
static unsigned int | GCD (unsigned int x, unsigned int y) |
|
static unsigned int | LeastCommonMultiple (unsigned int a, unsigned int b) |
|
template<typename T > |
static T | Abs (const T x) |
|
template<typename T > |
static T | Square (const T x) |
|
static int64 | GCD64 (int64 x, int64 y) |
|
template<typename T > |
static T | IPow (T base, int exp) |
|
template<class IntOut , class FloatIn > |
static IntOut | Round (FloatIn x) |
|
static int64 | FastInt64Round (double x) |
|
◆ Abs()
static T Abs |
( |
const T |
x | ) |
|
|
inlinestatic |
◆ CeilOfRatio()
static IntegralType CeilOfRatio |
( |
IntegralType |
numerator, |
|
|
IntegralType |
denominator |
|
) |
| |
|
inlinestatic |
◆ FastInt64Round()
static int64 FastInt64Round |
( |
double |
x | ) |
|
|
inlinestatic |
◆ FloorOfRatio()
static IntegralType FloorOfRatio |
( |
IntegralType |
numerator, |
|
|
IntegralType |
denominator |
|
) |
| |
|
inlinestatic |
◆ GCD()
static unsigned int GCD |
( |
unsigned int |
x, |
|
|
unsigned int |
y |
|
) |
| |
|
inlinestatic |
◆ GCD64()
◆ IPow()
static T IPow |
( |
T |
base, |
|
|
int |
exp |
|
) |
| |
|
inlinestatic |
◆ LeastCommonMultiple()
static unsigned int LeastCommonMultiple |
( |
unsigned int |
a, |
|
|
unsigned int |
b |
|
) |
| |
|
inlinestatic |
◆ Round()
static IntOut Round |
( |
FloatIn |
x | ) |
|
|
inlinestatic |
◆ Square()
static T Square |
( |
const T |
x | ) |
|
|
inlinestatic |
The documentation for this class was generated from the following file: