You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<param name="s">The span of characters to parse.</param>
11364
+
<param name="provider">An object that provides culture-specific formatting information about <paramref name="s" />.</param>
11365
+
<param name="result">When this method returns, contains the result of successfully parsing <paramref name="s" />, or an undefined value on failure.</param>
11366
11366
<summary>Tries to parse a span of characters into a value.</summary>
11367
11367
<returns>
11368
11368
<see langword="true" /> if <paramref name="s" /> was successfully parsed; otherwise, <see langword="false" />.</returns>
@@ -11405,11 +11405,12 @@ The integer value `33022` can be exported in four different arrays:
<param name="provider">An object that provides culture-specific formatting information about <paramref name="s" />.</param>
11410
+
<param name="result">When this method returns, contains the result of successfully parsing <paramref name="s" /> or an undefined value on failure.</param>
11411
+
<summary>Tries to parse a string into a value.</summary>
11412
+
<returns>
11413
+
<see langword="true" /> if <paramref name="s" /> was successfully parsed; otherwise, <see langword="false" />.</returns>
<paramname="s">The span of characters to parse.</param>
6985
+
<paramname="provider">An object that provides culture-specific formatting information about <paramrefname="s" />.</param>
6986
+
<paramname="result">When this method returns, contains the result of successfully parsing <paramrefname="s" />, or an undefined value on failure.</param>
6987
6987
<summary>Tries to parse a span of characters into a value.</summary>
6988
6988
<returns>
6989
6989
<seelangword="true" /> if <paramrefname="s" /> was successfully parsed; otherwise, <seelangword="false" />.</returns>
@@ -7026,9 +7026,9 @@ An implementation of this interface should produce the same string of characters
<paramname="provider">An object that provides culture-specific formatting information about <paramrefname="s" />.</param>
7031
+
<paramname="result">When this method returns, contains the result of successfully parsing <paramrefname="s" /> or an undefined value on failure.</param>
7032
7032
<summary>Tries to parse a string into a value.</summary>
7033
7033
<returns>
7034
7034
<seelangword="true" /> if <paramrefname="s" /> was successfully parsed; otherwise, <seelangword="false" />.</returns>
@@ -7065,10 +7065,10 @@ An implementation of this interface should produce the same string of characters
<paramname="value1">The first value, which is intended to be the lower bound.</param>
376
+
<paramname="value2">The second value, which is intended to be the upper bound.</param>
377
+
<paramname="amount">A value, intended to be between 0 and 1, that indicates the weight of the interpolation.</param>
378
+
<summary>Performs a linear interpolation between two values based on the given weight.</summary>
379
+
<returns>The interpolated value.</returns>
380
+
<remarks>This method presumes inputs are well formed and does not validate that <c>value1 < value2</c> nor that <c>0 <= amount <= 1</c>.</remarks>
Copy file name to clipboardExpand all lines: xml/System.Numerics/TotalOrderIeee754Comparer`1.xml
+19-15Lines changed: 19 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -37,8 +37,8 @@
37
37
</Attribute>
38
38
</Attributes>
39
39
<Docs>
40
-
<typeparamname="T">To be added.</typeparam>
41
-
<summary>To be added.</summary>
40
+
<typeparamname="T">The type of the numbers to be compared, must be an IEEE 754 floating-point type.</typeparam>
41
+
<summary>Represents a comparison operation that compares floating-point numbers with IEEE 754 totalOrder semantic.</summary>
42
42
<remarks>To be added.</remarks>
43
43
</Docs>
44
44
<Members>
@@ -65,11 +65,13 @@
65
65
<ParameterName="y"Type="T" />
66
66
</Parameters>
67
67
<Docs>
68
-
<paramname="x">To be added.</param>
69
-
<paramname="y">To be added.</param>
70
-
<summary>To be added.</summary>
71
-
<returns>To be added.</returns>
72
-
<remarks>To be added.</remarks>
68
+
<paramname="x">The first number to compare.</param>
69
+
<paramname="y">The second number to compare.</param>
70
+
<summary>Compares two numbers with IEEE 754 totalOrder semantic and returns a value indicating whether one is less than, equal to, or greater than the other.</summary>
71
+
<returns>A signed integer that indicates the relative values of <paramrefname="x" /> and <paramrefname="y" />, as shown in the following table.
72
+
<listtype="table"><listheader><term> Value</term><description> Meaning</description></listheader><item><term> Less than zero</term><description><paramrefname="x" /> is less than <paramrefname="y" /></description></item><item><term> Zero</term><description><paramrefname="x" /> equals <paramrefname="y" /></description></item><item><term> Greater than zero</term><description><paramrefname="x" /> is greater than <paramrefname="y" /></description></item></list></returns>
73
+
<remarks>IEEE 754 specification defines totalOrder as <= semantic.
74
+
totalOrder(x,y) is <seelangword="true" /> when the result of this method is less than or equal to 0.</remarks>
73
75
</Docs>
74
76
</Member>
75
77
<MemberMemberName="Equals">
@@ -155,11 +157,13 @@
155
157
<ParameterName="y"Type="T" />
156
158
</Parameters>
157
159
<Docs>
158
-
<paramname="x">To be added.</param>
159
-
<paramname="y">To be added.</param>
160
-
<summary>To be added.</summary>
161
-
<returns>To be added.</returns>
162
-
<remarks>To be added.</remarks>
160
+
<paramname="x">The first number of type <typeparamrefname="T" /> to compare.</param>
161
+
<paramname="y">The second number of type <typeparamrefname="T" /> to compare.</param>
162
+
<summary>Determines whether the specified numbers are equal.</summary>
163
+
<returns>
164
+
<seelangword="true" /> if the specified numbers are equal; otherwise, <seelangword="false" />.</returns>
165
+
<remarks>There is no corresponding equals semantic with totalOrder defined by IEEE 754 specification.
166
+
This method returns <seelangword="true" /> when <seecref="M:System.Numerics.TotalOrderIeee754Comparer`1.Compare(`0,`0)" /> returns 0.</remarks>
163
167
</Docs>
164
168
</Member>
165
169
<MemberMemberName="GetHashCode">
@@ -213,9 +217,9 @@
213
217
</Parameter>
214
218
</Parameters>
215
219
<Docs>
216
-
<paramname="obj">To be added.</param>
217
-
<summary>To be added.</summary>
218
-
<returns>To be added.</returns>
220
+
<paramname="obj">The number for which a hash code is to be returned.</param>
221
+
<summary>Returns a hash code for the specified number.</summary>
222
+
<returns>A hash code for the specified number.</returns>
0 commit comments