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