<Math> Data Interface

This class supports common math computations.

Class HierarchyType » Math

Function Members

Function members are as follows:

Return Type Function Name Documentation
static float32AbsFloat32This option is undocumented at present.
static float64AbsFloat64Returns the absolute value of a 64-bit float.
static float64AbsInt32Returns the absolute value of a 32-bit int.
static float64AcosReturns the arccosine value of 'Value'.
static float64AsinReturns the arcsine value of 'Value'.
static float64AtanReturns the arctangent of 'Value'.
static float64Atan2Calculates the arctangent of 'Y' / 'X'.
static float64CeilRounds the value up and returns the smallest value that is not less than the input.
static float64ClampFloat64Clamps the source value to the range specified by the floor and ceiling values.
static int32ClampInt32Clamps the source value to the range specified by the floor and ceiling values.
static uint32ClampUint32Clamps the source value to the range specified by the floor and ceiling values.
static float64CosReturns the cosine of the angle.
static float64ExpCalls std::exp on the source value, which computes Euler's number raised to the power of the source value.
static float64FloorRounds the value down to the largest value that is not greater than the source value.
static int32IsPow2Returns true if the source value is a power of two. Otherwise returns false.
static float64Log2Returns log( value ) / log( 2.0 ), which is the binary value of the base 2 logarithm of the source value.
static float32MaxFloat32Returns the maximum of the two source values.
static float64MaxFloat64Returns the maximum of the two source values.
static int32MaxInt32Returns the maximum of the two source values.
static int32MaxUint32Returns the maximum of the two source values.
static float32MinFloat32Returns the minimum of the two source values.
static float64MinFloat64Returns the minimum of the two source values.
static int32MinInt32Returns the minimum of the two source values.
static uint32MinUint32Returns the minimum of the two source values.
static float32ModFloat32This method returns the remainder of the division of two float32 values.
static float64ModFloat64This method returns the remainder of the division of two float64 values.
static int32ModIThis method returns the remainder of the division of two integers.
static float64PIReturns the value of the constant pi.
static float64PowCalculates the result of the value 'base' raised to the power of 'exponent'.
static int32RandomReturns a pseudo-random number, based on the seed value.
static int32RandomMaxReturns the maximum value that the Random function may return.
static float64RoundFloat64Rounds the source value with std::round, which computes the nearest integer to the source value.
static int32SeedRandomSeeds the pseudo-random generator.
static float64SinReturns the sine of the source value.
static float64SqrtReturns the square root of the source value
static float64TanReturns the tangent of the source value.