RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Math Namespace

This is namespace Math.

Name 
Description 
The following table lists classes in this documentation. 
The following table lists functions in this documentation. 
The following table lists structs, records, enums in this documentation. 
The following table lists types in this documentation. 
The following table lists constants in this documentation. 
 
Name 
Description 
 
EInvalidArgument is the exception class for out-of-range parameters in specialized math and accounting functions. 
Name 
Description 
Infinity represents positive infinity. 
MaxComp defines the maximum absolute value for a Comp variable. 
MaxDouble defines the maximum absolute value for a Double variable. 
MaxExtended defines the maximum absolute value for an Extended variable. 
MaxSingle defines the maximum absolute value for a Single variable. 
MinComp defines the smallest absolute value for a Comp variable. 
MinDouble defines the smallest absolute value for a Double variable. 
MinExtended defines the smallest absolute value for an Extended variable. 
MinSingle defines the smallest absolute value for a Single variable. 
NaN 
NaN represents a value that cannot be represented as a valid number. 
NegativeValue defines a negative number result from using Sign
NegInfinity represents negative infinity. 
PositiveValue defines a positive number result from using Sign
ZeroValue defines a zero value number result from using Sign
 
Name 
Description 
 
Calculates the inverse cosine of a given number. 
 
Calculates the inverse cosine of a given number. 
 
Calculates the inverse cosine of a given number. 
 
Calculates the inverse hyperbolic cosine of a given number. 
 
Calculates the inverse cotangent of a given number. 
 
Calculates the inverse hyperbolic cotangent of a given number. 
 
Calculates the inverse cosecant of a given number. 
 
Calculates the inverse hyperbolic cosecant of a given number. 
 
Calculates the inverse secant of a given number. 
 
Calculates the inverse hyperbolic secant of a given number. 
 
Calculates the inverse sine of a given number. 
 
Calculates the inverse sine of a given number. 
 
Calculates the inverse sine of a given number. 
 
Calculates the inverse hyperbolic sine of a given number. 
 
Calculates the arctangent angle and quadrant of a given number. 
 
Calculates the inverse hyperbolic tangent of a given number. 
 
Ceil 
Rounds variables up toward positive infinity. 
 
Clears exception bits in FPU status word. 
 
Returns the relationship between two numeric values. 
 
Returns the relationship between two numeric values. 
 
Returns the relationship between two numeric values. 
 
Returns the relationship between two numeric values. 
 
Returns the relationship between two numeric values. 
 
Returns the cosecant of an angle. 
 
Cosh 
Calculates the hyperbolic cosine of an angle. 
 
Cot 
Calculates the cotangent of an angle. 
 
Calculates the cotangent of an angle. 
 
CotH 
Calculates the hyperbolic cotangent of an angle. 
 
Csc 
Returns the cosecant of an angle. 
 
CscH 
Returns the hyperbolic cosecant of an angle. 
 
Converts an angle measurement from cycles to degrees. 
 
Converts an angle measurement from cycles to grads. 
 
Converts an angle measurement from cycles to radians. 
 
Returns the value of a degree measurement expressed in cycles. 
 
Returns the value of a degree measurement expressed in grads. 
 
Returns the value of a degree measurement expressed in radians. 
 
Returns the result of an integer division, including the remainder. 
 
Calculates the depreciation of an asset using the double-declining balance method. 
 
Returns the closest value to a specified value within a specified range. 
 
Returns the closest value to a specified value within a specified range. 
 
Returns the closest value to a specified value within a specified range. 
 
Rounds variables toward negative infinity. 
 
Separates the Mantissa and Exponent of X 
 
Calculates the future value of an investment. 
 
Returns the exception mask from the FPU control word. 
 
Returns the FPU precision control mode. 
 
Returns the FPU rounding mode. 
 
Converts grad measurements to cycles. 
 
Converts grad measurements to degrees. 
 
Converts grad measurements to radians. 
 
Calculates the length of the hypotenuse. 
 
Conditionally returns one of two specified values. 
 
Conditionally returns one of two specified values. 
 
Conditionally returns one of two specified values. 
 
Indicates whether a value falls within a specified range. 
 
Indicates whether a value falls within a specified range. 
 
Indicates whether a value falls within a specified range. 
 
Calculates the interest portion of a loan payment. 
 
Returns the interest rate required to increase PresentValue to FutureValue
 
Calculates the internal rate of return for an investment. 
 
Calculates the integral power of a base value. 
 
Indicates when a variable or expression represents an infinite value. 
 
Indicates when a variable or expression does not evaluate to a numeric value. 
 
Indicates when a variable or expression does not evaluate to a numeric value. 
 
Indicates when a variable or expression does not evaluate to a numeric value. 
 
Indicates when a floating-point variable or expression evaluates to zero, or very close to zero. 
 
Indicates when a floating-point variable or expression evaluates to zero, or very close to zero. 
 
Indicates when a floating-point variable or expression evaluates to zero, or very close to zero. 
 
Calculates X times (2 to the power of P). 
 
Returns the natural log of (X+1) 
 
Calculates log base 10. 
 
Log2 
Calculates log base 2. 
 
LogN 
Calculates the log of X for a specified base. 
 
Max 
Returns the greater of two numeric values (Delphi only). 
 
Max 
Returns the greater of two numeric values (Delphi only). 
 
Max 
Returns the greater of two numeric values (Delphi only). 
 
Max 
Returns the greater of two numeric values (Delphi only). 
 
Max 
Returns the greater of two numeric values (Delphi only). 
 
Returns the largest signed value in an integer array. 
 
Returns the largest signed value in an array. 
 
Mean 
Returns the average of all values in an array. 
 
Calculates the mean and standard deviation of array elements. 
 
Min 
Returns the lesser of two numeric values (Delphi only). 
 
Min 
Returns the lesser of two numeric values (Delphi only). 
 
Min 
Returns the lesser of two numeric values (Delphi only). 
 
Min 
Returns the lesser of two numeric values (Delphi only). 
 
Min 
Returns the lesser of two numeric values (Delphi only). 
 
Returns the smallest signed value in an integer array. 
 
Returns smallest signed value in an array. 
 
Calculates the mean, variance, skew, and kurtosis. 
 
Calculates the current value from an array of estimated cash flow values. 
 
Norm 
Returns the Euclidean 'L-2' norm. 
 
Returns the number of payment periods for an investment. 
 
Calculates a fully amortized payment. 
 
Returns the principal amount from a full payment. 
 
Poly 
Evaluates a uniform polynomial of one variable at the value X. 
 
Calculates the population standard deviation. 
 
Calculates the population variance. 
 
Raises Base to any power. 
 
Raises Base to any power. 
 
Raises Base to any power. 
 
Calculates the present value of an investment. 
 
Converts radians to cycles. 
 
Converts radians to degrees. 
 
Converts radians to grads. 
 
Generates random numbers with Gaussian distribution. 
 
Returns a randomly selected element from an array. 
 
Returns a randomly selected element from an array. 
 
Returns a randomly selected element from an array. 
 
Returns a random integer from a specified range. 
 
Rounds a floating-point value to a specified digit or power of ten using "Banker's rounding". 
 
Indicates whether two floating-point values are (approximately) equal. 
 
Indicates whether two floating-point values are (approximately) equal. 
 
Indicates whether two floating-point values are (approximately) equal. 
 
Sec 
Calculates the secant of an angle. 
 
Calculates the secant of an angle. 
 
SecH 
Calculates the hyperbolic secant of an angle. 
 
Sets the exception mask on the FPU control word. 
 
Sets the FPU precision control mode. 
 
Sets the FPU rounding mode. 
 
Sign 
Indicates whether a numeric value is positive, negative, or zero. 
 
Sign 
Indicates whether a numeric value is positive, negative, or zero. 
 
Sign 
Indicates whether a numeric value is positive, negative, or zero. 
 
Rounds a floating-point value to a specified digit or power of ten using asymmetric arithmetic rounding. 
 
Returns sine and cosine of an angle. 
 
Sinh 
Returns the hyperbolic sine of an angle. 
 
Returns the straight-line depreciation allowance of an asset. 
 
Returns the sample standard deviation for elements in an array. 
 
Sum 
Returns the sum of the elements in an array. 
 
Returns the sum of the elements in an integer array. 
 
Returns the sum of the squared values from a data array. 
 
Returns the sum of the values and the sum of the squared values in an array. 
 
Calculates depreciation for an asset. 
 
Tan 
Returns the tangent of X. 
 
Tanh 
Returns the hyperbolic tangent of X. 
 
Returns the statistical variance from an array of values. 
 
Calculates statistical sample variance from an array of data. 
 
Name 
Description 
 
TFPUException defines TFPUExceptionMask values. 
 
TFPUPrecisionMode defines how the FPU handles precision. 
 
TFPURoundingMode defines how the FPU handles rounding issues. 
 
TPaymentTime is an enumerated type used as a parameter in financial functions. 
Name 
Description 
TFPUExceptionMask defines a set of TFPUException values. 
TRoundToRange defines the RoundTo rounding limits. 
TValueSign defines the Sign returned value. 
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!