Skip to content

Commit 8cec2dd

Browse files
committed
MathF.SinCos remarks uses Math.PI instead of MathF.PI (#11824)
1 parent 9ba1f1b commit 8cec2dd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

xml/System/MathF.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<AssemblyVersion>4.2.1.0</AssemblyVersion>
1212
<AssemblyVersion>4.2.2.0</AssemblyVersion>
1313
</AssemblyInfo>
14-
<AssemblyInfo>
14+
<AssemblyInfo>s
1515
<AssemblyName>netstandard</AssemblyName>
1616
<AssemblyVersion>2.1.0.0</AssemblyVersion>
1717
</AssemblyInfo>
@@ -2402,10 +2402,11 @@ If the value of the `x` argument is <xref:System.Single.NaN?displayProperty=name
24022402
<summary>Returns the sine and cosine of the specified angle.</summary>
24032403
<returns>The sine and cosine of <paramref name="x" />. If <paramref name="x" /> is equal to <see cref="F:System.Single.NaN" />, <see cref="F:System.Single.NegativeInfinity" />, or <see cref="F:System.Single.PositiveInfinity" />, this method returns <see cref="F:System.Single.NaN" />.</returns>
24042404
<remarks>
2405-
<format type="text/markdown"><![CDATA[
2405+
<format type="text/markdown">
2406+
<![CDATA[
24062407
24072408
## Remarks
2408-
The angle, `x`, must be in radians. Multiply by <xref:System.Math.PI?displayProperty=nameWithType>/180 to convert degrees to radians.
2409+
The angle, `x`, must be in radians. Multiply by <xref:System.MathF.PI?displayProperty=nameWithType>/180 to convert degrees to radians.
24092410
24102411
This method calls into the underlying C runtime, and the exact result or valid input range may differ between different operating systems or architectures.
24112412

0 commit comments

Comments
 (0)