Skip to content

Commit 82983a9

Browse files
authored
Fix wording around BitIncrement and BitDecrement (#11315)
1 parent 8467cec commit 82983a9

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

xml/System/Double.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -872,8 +872,8 @@ This computes `arctan(x) / π` in the interval `[-0.5, +0.5]`.
872872
</Parameters>
873873
<Docs>
874874
<param name="x">The value to be bitwise decremented.</param>
875-
<summary>Decrements a value to the smallest value that compares less than a given value.</summary>
876-
<returns>The smallest value that compares less than <paramref name="x" />.</returns>
875+
<summary>Returns the largest value that compares less than a specified value.</summary>
876+
<returns>The largest value that compares less than <paramref name="x" />.</returns>
877877
<remarks>To be added.</remarks>
878878
<inheritdoc cref="M:System.Numerics.IFloatingPointIeee754`1.BitDecrement(`0)" />
879879
</Docs>
@@ -910,7 +910,7 @@ This computes `arctan(x) / π` in the interval `[-0.5, +0.5]`.
910910
</Parameters>
911911
<Docs>
912912
<param name="x">The value to be bitwise incremented.</param>
913-
<summary>Increments a value to the smallest value that compares greater than a given value.</summary>
913+
<summary>Returns the smallest value that compares greater than a specified value.</summary>
914914
<returns>The smallest value that compares greater than <paramref name="x" />.</returns>
915915
<remarks>To be added.</remarks>
916916
<inheritdoc cref="M:System.Numerics.IFloatingPointIeee754`1.BitIncrement(`0)" />

xml/System/Single.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -870,8 +870,8 @@ This computes `arctan(x) / π` in the interval `[-0.5, +0.5]`.
870870
</Parameters>
871871
<Docs>
872872
<param name="x">The value to be bitwise decremented.</param>
873-
<summary>Decrements a value to the smallest value that compares less than a given value.</summary>
874-
<returns>The smallest value that compares less than <paramref name="x" />.</returns>
873+
<summary>Returns the largest value that compares less than a specified value.</summary>
874+
<returns>The largest value that compares less than <paramref name="x" />.</returns>
875875
<remarks>To be added.</remarks>
876876
<inheritdoc cref="M:System.Numerics.IFloatingPointIeee754`1.BitDecrement(`0)" />
877877
</Docs>
@@ -908,7 +908,7 @@ This computes `arctan(x) / π` in the interval `[-0.5, +0.5]`.
908908
</Parameters>
909909
<Docs>
910910
<param name="x">The value to be bitwise incremented.</param>
911-
<summary>Increments a value to the smallest value that compares greater than a given value.</summary>
911+
<summary>Returns the smallest value that compares greater than a specified value.</summary>
912912
<returns>The smallest value that compares greater than <paramref name="x" />.</returns>
913913
<remarks>To be added.</remarks>
914914
<inheritdoc cref="M:System.Numerics.IFloatingPointIeee754`1.BitIncrement(`0)" />

0 commit comments

Comments
 (0)