Skip to content

Commit 29791ba

Browse files
authored
Merge pull request #8220 from dakersnar/fix-runtime-70519
Adjust documentation for BitDecrement and BitIncrement
2 parents 36f68f3 + b794e2b commit 29791ba

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

xml/System.Numerics/IFloatingPointIeee754`1.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,8 @@ This computes `arctan(y / x) / π` in the interval `[-1, +1]`.
210210
</Parameters>
211211
<Docs>
212212
<param name="x">The value to be bitwise decremented.</param>
213-
<summary>Decrements a value to the smallest value that compares less than a given value.</summary>
214-
<returns>The smallest value that compares less than <paramref name="x" />.</returns>
213+
<summary>Returns the largest value that compares less than a specified value.</summary>
214+
<returns>The largest value that compares less than <paramref name="x" />.</returns>
215215
<remarks>To be added.</remarks>
216216
</Docs>
217217
</Member>
@@ -235,7 +235,7 @@ This computes `arctan(y / x) / π` in the interval `[-1, +1]`.
235235
</Parameters>
236236
<Docs>
237237
<param name="x">The value to be bitwise incremented.</param>
238-
<summary>Increments a value to the smallest value that compares greater than a given value.</summary>
238+
<summary>Returns the smallest value that compares greater than a specified value.</summary>
239239
<returns>The smallest value that compares greater than <paramref name="x" />.</returns>
240240
<remarks>To be added.</remarks>
241241
</Docs>

xml/System/Math.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1303,8 +1303,8 @@
13031303
</Parameters>
13041304
<Docs>
13051305
<param name="x">The value to decrement.</param>
1306-
<summary>Returns the next smallest value that compares less than <paramref name="x" />.</summary>
1307-
<returns>The next smallest value that compares less than <paramref name="x" />.
1306+
<summary>Returns the largest value that compares less than a specified value.</summary>
1307+
<returns>The largest value that compares less than <paramref name="x" />.
13081308

13091309
-or-
13101310

@@ -1349,8 +1349,8 @@
13491349
</Parameters>
13501350
<Docs>
13511351
<param name="x">The value to increment.</param>
1352-
<summary>Returns the next largest value that compares greater than <paramref name="x" />.</summary>
1353-
<returns>The next largest value that compares greater than <paramref name="x" />.
1352+
<summary>Returns the smallest value that compares greater than a specified value.</summary>
1353+
<returns>The smallest value that compares greater than <paramref name="x" />.
13541354

13551355
-or-
13561356

xml/System/MathF.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -491,8 +491,8 @@ The static fields and methods of the `MathF` class correspond to those of the <x
491491
</Parameters>
492492
<Docs>
493493
<param name="x">The value to decrement.</param>
494-
<summary>Returns the next smallest value that compares less than <paramref name="x" />.</summary>
495-
<returns>The next smallest value that compares less than <paramref name="x" />.
494+
<summary>Returns the largest value that compares less than a specified value.</summary>
495+
<returns>The largest value that compares less than <paramref name="x" />.
496496

497497
-or-
498498

@@ -534,8 +534,8 @@ The static fields and methods of the `MathF` class correspond to those of the <x
534534
</Parameters>
535535
<Docs>
536536
<param name="x">The value to increment.</param>
537-
<summary>Returns the next largest value that is greater than <paramref name="x" />.</summary>
538-
<returns>The next largest value that is greater than <paramref name="x" />.
537+
<summary>Returns the smallest value that compares greater than a specified value.</summary>
538+
<returns>The smallest value that compares greater than <paramref name="x" />.
539539

540540
-or-
541541

0 commit comments

Comments
 (0)