public bool ApproxEqual(DoubleItem rhs, double tol) { double delta = this.DoubleValue - rhs.DoubleValue; return Math.Abs(delta) < tol; }
public bool IsEqual(DoubleItem rhs) { return ApproxEqual(rhs, tolerance); }