示例#1
0
 /// <summary>
 /// Determines whether this object is equal to another object.
 /// </summary>
 /// <param name="other">The other object.</param>
 /// <returns><see langword="true"/> when the objects are equal;
 /// otherwise, <see langword="false"/>.</returns>
 private bool Equals(RealTerm other)
 {
     return(base.Equals(other) &&
            Math.Abs(this.Value - other.Value) < 0.00001);
 }
			/// <summary>
			/// Determines whether this object is equal to another object.
			/// </summary>
			/// <param name="other">The other object.</param>
			/// <returns><see langword="true"/> when the objects are equal;
			/// otherwise, <see langword="false"/>.</returns>
			private bool Equals(RealTerm other)
			{
				return base.Equals(other)
					&& Math.Abs(this.Value - other.Value) < 0.00001;
			}