Click or drag to resize

PrecisionAlmostEqualNormRelative Method

Overload List
 NameDescription
Public Extension MethodAlmostEqualNormRelative(Double, Double, Double, Double) Compares two doubles and determines if they are equal within the specified maximum error.
Public Extension MethodAlmostEqualNormRelative(Double, Double, Double, Int32) Compares two doubles and determines if they are equal to within the specified number of decimal places or not. If the numbers are very close to zero an absolute difference is compared, otherwise the relative difference is compared.
Public Extension MethodAlmostEqualNormRelativeT(T, T, Double) Compares two doubles and determines if they are equal within the specified maximum error.
Public Extension MethodAlmostEqualNormRelativeT(T, T, Int32) Compares two doubles and determines if they are equal to within the specified number of decimal places or not. If the numbers are very close to zero an absolute difference is compared, otherwise the relative difference is compared.
Top
See Also