Skip to content

Commit de098e3

Browse files
committed
Reword IsRealNumber docs for better clarity
1 parent e07db1b commit de098e3

File tree

6 files changed

+5
-7
lines changed

6 files changed

+5
-7
lines changed

xml/System.Numerics/Complex.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2292,8 +2292,6 @@ A return value of `false` does not imply that <xref:System.Numerics.INumberBase%
22922292
22932293
This function returns `true` for a complex number `a + bi` where `b` is zero.
22942294
2295-
This function also returns `true` for a complex number `a + bi` where `a` is infinity, but not `b`, and does not return true for <xref:System.Numerics.Complex.Infinity>.
2296-
22972295
]]></format>
22982296
</remarks>
22992297
<inheritdoc cref="M:System.Numerics.INumberBase`1.IsRealNumber(`0)" />

xml/System.Numerics/INumberBase`1.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ A return value of `false` does not imply that <xref:System.Numerics.INumberBase%
782782
783783
This function returns `true` for a complex number `a + bi` where `b` is zero.
784784
785-
This function also returns `true` for positive and negative infinity.
785+
This function checks values against the extended real number line, thus returns `true` for positive and negative infinity.
786786
787787
]]></format>
788788
</remarks>

xml/System.Runtime.InteropServices/NFloat.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2414,7 +2414,7 @@ A return value of `false` does not imply that <xref:System.Numerics.INumberBase%
24142414

24152415
This function returns `true` for a complex number `a + bi` where `b` is zero.
24162416

2417-
This function also returns `true` for <xref:System.Runtime.InteropServices.NFloat.PositiveInfinity> and <xref:System.Runtime.InteropServices.NFloat.NegativeInfinity>.
2417+
This function checks values against the extended real number line, thus returns `true` for <xref:System.Runtime.InteropServices.NFloat.PositiveInfinity> and <xref:System.Runtime.InteropServices.NFloat.NegativeInfinity>.
24182418

24192419
]]></format>
24202420
</remarks>

xml/System/Double.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3154,7 +3154,7 @@ A return value of `false` does not imply that <xref:System.Numerics.INumberBase%
31543154

31553155
This function returns `true` for a complex number `a + bi` where `b` is zero.
31563156

3157-
This function also returns `true` for <xref:System.Double.PositiveInfinity> and <xref:System.Double.NegativeInfinity>.
3157+
This function checks values against the extended real number line, thus returns `true` for <xref:System.Double.PositiveInfinity> and <xref:System.Double.NegativeInfinity>.
31583158

31593159
]]></format>
31603160
</remarks>

xml/System/Half.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2360,7 +2360,7 @@ A return value of `false` does not imply that <xref:System.Numerics.INumberBase%
23602360
23612361
This function returns `true` for a complex number `a + bi` where `b` is zero.
23622362
2363-
This function also returns `true` for <xref:System.Half.PositiveInfinity> and <xref:System.Half.NegativeInfinity>.
2363+
This function checks values against the extended real number line, thus returns `true` for <xref:System.Half.PositiveInfinity> and <xref:System.Half.NegativeInfinity>.
23642364
23652365
]]></format>
23662366
</remarks>

xml/System/Single.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3171,7 +3171,7 @@ A return value of `false` does not imply that <xref:System.Numerics.INumberBase%
31713171

31723172
This function returns `true` for a complex number `a + bi` where `b` is zero.
31733173

3174-
This function also returns `true` for <xref:System.Single.PositiveInfinity> and <xref:System.Single.NegativeInfinity>.
3174+
This function checks values against the extended real number line, thus returns `true` for <xref:System.Single.PositiveInfinity> and <xref:System.Single.NegativeInfinity>.
31753175

31763176
]]></format>
31773177
</remarks>

0 commit comments

Comments
 (0)