Min_()

Math::Min_(float, float) method

Returns the smallest single-precision floating point value out of the two specified.

float System::Math::Min_(float val1, float val2)

Arguments

ParameterTypeDescription
val1floatThe first comparand
val2floatThe second comparand

Return Value

The smallest value out of val1 and val2; or NaN if one of the operands is NaN

Math::Min_(double, double) method

Returns the smallest double-precision floating point value out of the two specified.

double System::Math::Min_(double val1, double val2)

Arguments

ParameterTypeDescription
val1doubleThe first comparand
val2doubleThe second comparand

Return Value

The smallest value out of val1 and val2; or NaN if one of the operands is NaN

See Also