Equals< double, double >()

System::Equals< double, double >(const double&, const double&) function

Specialization for double-precision floating point values.

bool System::Equals<double, double>(const double &a, const double &b)

Arguments

ParameterTypeDescription
aconst double&The first comparand
bconst double&The second comparand

Return Value

True if both values are NaN or are equal, otherwise - false

See Also