Math

double ACos(
    double dVal)


Returns the arccosine of dVal.


double ASin(
    double dVal)


Returns the arcsine of dVal.


double ATan(
    double dVal)


Returns the arctangent of dVal.


double Abs(
    double dVal)


Returns the absolute value of its parameter (double).


int64 Abs64(
    int64 i64Val)


Returns the absolute value of its parameter (64-bit integer).


double Ceil(
    double dVal)


Returns a double value representing the smallest integer that is greater than or equal to dVal.


double Cos(
    double dVal)


Returns the cosine of dVal.


double CosH(
    double dVal)


Returns the hyperbolic cosine of dVal.


double Exp(
    double dVal)


Returns the exponential of dVal.


double Floor(
    double dVal)


Returns a floating-point value representing the largest integer that is less than or equal to dVal.


double Log(
    double dVal)


Returns the logarithm of dVal.


double Max(
    double dLeft,
    double dRight)


Returns the larger number between dLeft and dRight.


double Min(
    double dLeft,
    double dRight)


Returns the smaller number between dLeft and dRight.


double Mod(
    double dLeft,
    double dRight)


Calculates the floating-point remainder dRem of dLeft / dRight such that dLeft = iInt * dRight + dRem, where iInt is an integer, dRem has the same sign as dLeft, and the absolute value of dRem is less than the absolute value of dRight.


double Pow(
    double dLeft,
    double dRight)


Calculates dLeft raised to the power of dRight.


int Random(
    int iMax)


Returns a random integer between 0 and (iMax - 1).


double Sin(
    double dVal)


Returns the sine of dVal.


double SinH(
    double dVal)


Returns the hyperbolic sine of dVal.


double Sqrt(
    double dVal)


Returns the square-root of dVal.


double Tan(
    double dVal)


Returns the tangent of dVal.


double TanH(
    double dVal)


Returns the hyperbolic tangent of dVal.


Copyright © 2006 Shawn (L. Spiro) Wilcoxen