This class supports common math computations.
Class Hierarchy | Type » Math |
Function members are as follows:
Return Type | Function Name | Documentation |
---|---|---|
static double | AbsFloat64 | Returns the absolute value of a 64-bit float. |
static double | AbsInt32 | Returns the absolute value of a 32-bit int. |
static double | Acos | Returns the arccosine value of 'Value'. |
static double | Asin | Returns the arcsine value of 'Value'. |
static double | Atan | Returns the arctangent of 'Value'. |
static double | Atan2 | Calculates the arctangent of 'Y' / 'X'. |
static double | Ceil | Rounds the value up and returns the smallest value that is not less than the input. |
static double | ClampFloat64 | Clamps the source value to the range specified by the floor and ceiling values. |
static int32 | ClampInt32 | Clamps the source value to the range specified by the floor and ceiling values. |
static uint32 | ClampUint32 | Clamps the source value to the range specified by the floor and ceiling values. |
static double | Cos | Returns the cosine of the angle. |
static double | Exp | Calls std::exp on the source value, which computes Euler's number raised to the power of the source value. |
static double | Floor | Rounds the value down to the largest value that is not greater than the source value. |
static int32 | IsPow2 | Returns true if the source value is a power of two. Otherwise returns false. |
static double | Log2 | Returns log( value ) / log( 2.0 ), which is the binary value of the base 2 logarithm of the source value. |
static double | MaxFloat64 | Returns the maximum of the two source values. |
static int32 | MaxInt32 | Returns the maximum of the two source values. |
static int32 | MaxUint32 | Returns the maximum of the two source values. |
static double | MinFloat64 | Returns the minimum of the two source values. |
static int32 | MinInt32 | Returns the minimum of the two source values. |
static uint32 | MinUint32 | Returns the minimum of the two source values. |
static double | ModF | This method returns the remainder of the division of two doubles. |
static int32 | ModI | This method returns the remainder of the division of two integers. |
static double | PI | Returns the value of the constant pi. |
static double | Pow | Calculates the result of the value 'base' raised to the power of 'exponent'. |
static int32 | Random | Returns a pseudo-random number, based on the seed value. |
static int32 | RandomMax | Returns the maximum value that the Random function may return. |
static double | RoundFloat64 | Rounds the source value with std::round, which computes the nearest integer to the source value. |
static int32 | SeedRandom | Seeds the pseudo-random generator. |
static double | Sin | Returns the sine of the source value. |
static double | Sqrt | Returns the square root of the source value |
static double | Tan | Returns the tangent of the source value. |