Skip to content

Commit dc49e20

Browse files
committed
MathF.SinCos remarks uses Math.PI instead of MathF.PI
1 parent 784836d commit dc49e20

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

xml/System/MathF.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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)