Skip to content

Commit c80405c

Browse files
authored
Fixing documentation errors in Complex.Abs (#4717)
1 parent 83e4099 commit c80405c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

xml/System.Numerics/Complex.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,11 +246,11 @@
246246
<format type="text/markdown"><![CDATA[
247247
248248
## Remarks
249-
The absolute value of a complex number is equivalent to its <xref:System.Numerics.Complex.Magnitude%2A> property. The absolute value of a real number a + bi is calculated as follows:
249+
The absolute value of a complex number is equivalent to its <xref:System.Numerics.Complex.Magnitude%2A> property. The absolute value of a complex number a + bi is calculated as follows:
250250
251-
- If b = 0, the result is 0.
251+
- If b = 0, the result is a.
252252
253-
- If a > b, the result is a *<xref:System.Math.Sqrt%2A?displayProperty=nameWithType>(1 + b<sup>2</sup>/a<sup>2</sup>).
253+
- If a > b, the result is a * <xref:System.Math.Sqrt%2A?displayProperty=nameWithType>(1 + b<sup>2</sup>/a<sup>2</sup>).
254254
255255
- If b > a, the result is b * <xref:System.Math.Sqrt%2A?displayProperty=nameWithType>(1 + a<sup>2</sup>/b<sup>2</sup>).
256256

0 commit comments

Comments
 (0)