Skip to content

Commit a515946

Browse files
authored
Remove float exception for x.Equals(x) (dotnet#7487)
1 parent 21cf768 commit a515946

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xml/System/Object.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@
270270
271271
The following statements must be true for all implementations of the <xref:System.Object.Equals%28System.Object%29> method. In the list, `x`, `y`, and `z` represent object references that are not **null**.
272272
273-
- `x.Equals(x)` returns `true`, except in cases that involve floating-point types. See [ISO/IEC/IEEE 60559:2011, Information technology -- Microprocessor Systems -- Floating-Point arithmetic](https://www.iso.org/standard/57469.html).
273+
- `x.Equals(x)` returns `true`.
274274
275275
- `x.Equals(y)` returns the same value as `y.Equals(x)`.
276276

0 commit comments

Comments
 (0)