File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ public double Value
199199 /// <param name="right">The value to compare with <paramref name="left" />.</param>
200200 /// <returns><c>true</c> if <paramref name="left" /> is less than or equal to <paramref name="right" />; otherwise, <c>false</c>.</returns>
201201 [ NonVersionable ]
202- public static bool operator <= ( NFloat left , NFloat right ) => left . _value > = right . _value ;
202+ public static bool operator <= ( NFloat left , NFloat right ) => left . _value < = right . _value ;
203203
204204 /// <summary>Compares two values to determine which is greater.</summary>
205205 /// <param name="left">The value to compare with <paramref name="right" />.</param>
@@ -213,7 +213,7 @@ public double Value
213213 /// <param name="right">The value to compare with <paramref name="left" />.</param>
214214 /// <returns><c>true</c> if <paramref name="left" /> is greater than or equal to <paramref name="right" />; otherwise, <c>false</c>.</returns>
215215 [ NonVersionable ]
216- public static bool operator >= ( NFloat left , NFloat right ) => left . _value < = right . _value ;
216+ public static bool operator >= ( NFloat left , NFloat right ) => left . _value > = right . _value ;
217217
218218 //
219219 // Explicit Convert To NFloat
You can’t perform that action at this time.
0 commit comments