You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<summary>Returns an integer that indicates the sign of a native sized signed integer.</summary>
7041
+
<returns>A number that indicates the sign of <paramrefname="value" />, as shown in the following table.
7042
+
7043
+
<listtype="table"><listheader><term> Return value
7044
+
7045
+
</term><description> Meaning
7046
+
7047
+
</description></listheader><item><term> -1
7048
+
7049
+
</term><description><paramrefname="value" /> is less than zero.
7050
+
7051
+
</description></item><item><term> 0
7052
+
7053
+
</term><description><paramrefname="value" /> is equal to zero.
7054
+
7055
+
</description></item><item><term> 1
7056
+
7057
+
</term><description><paramrefname="value" /> is greater than zero.
7058
+
7059
+
</description></item></list></returns>
7060
+
<remarks>
7061
+
<formattype="text/markdown"><![CDATA[
7062
+
7063
+
## Examples
7064
+
The following example demonstrates how to use the <xref:System.Math.Sign%28System.IntPtr%29> method to determine the sign of an <xref:System.IntPtr> value and display it to the console.
<paramname="x">An angle, measured in radians.</param>
7350
+
<summary>Returns the sine and cosine of the specified angle.</summary>
7351
+
<returns>The sine and cosine of <paramrefname="x" />. If <paramrefname="x" /> is equal to <seecref="F:System.Double.NaN" />, <seecref="F:System.Double.NegativeInfinity" />, or <seecref="F:System.Double.PositiveInfinity" />, this method returns <seecref="F:System.Double.NaN" />.</returns>
7352
+
<remarks>
7353
+
<formattype="text/markdown"><![CDATA[
7354
+
7355
+
## Remarks
7356
+
The angle, `x`, must be in radians. Multiply by <xref:System.Math.PI?displayProperty=nameWithType>/180 to convert degrees to radians.
7357
+
7358
+
This method calls into the underlying C runtime, and the exact result or valid input range may differ between different operating systems or architectures.
7359
+
7360
+
7361
+
7362
+
## Examples
7363
+
The following example uses <xref:System.Math.SinCos%2A> to evaluate certain trigonometric identities for selected angles.
<paramname="x">An angle, measured in radians.</param>
2101
+
<summary>Returns the sine and cosine of the specified angle.</summary>
2102
+
<returns>The sine and cosine of <paramrefname="x" />. If <paramrefname="x" /> is equal to <seecref="F:System.Single.NaN" />, <seecref="F:System.Single.NegativeInfinity" />, or <seecref="F:System.Single.PositiveInfinity" />, this method returns <seecref="F:System.Single.NaN" />.</returns>
2103
+
<remarks>
2104
+
<formattype="text/markdown"><![CDATA[
2105
+
2106
+
## Remarks
2107
+
The angle, `x`, must be in radians. Multiply by <xref:System.Math.PI?displayProperty=nameWithType>/180 to convert degrees to radians.
2108
+
2109
+
This method calls into the underlying C runtime, and the exact result or valid input range may differ between different operating systems or architectures.
2110
+
2111
+
2112
+
2113
+
## Examples
2114
+
The following example uses <xref:System.MathF.SinCos%2A> to evaluate certain trigonometric identities for selected angles.
0 commit comments