Skip to content

Commit 16da1dc

Browse files
v-mepaMeenal Patel (CSI Interfusion Inc)
andauthored
enable try dotnet to batch3 (#4085)
Co-authored-by: Meenal Patel (CSI Interfusion Inc) <[email protected]>
1 parent 245e7e5 commit 16da1dc

File tree

1 file changed

+69
-69
lines changed

1 file changed

+69
-69
lines changed

xml/System/Math.xml

Lines changed: 69 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@
4949
5050
## Examples
5151
The following example uses several mathematical and trigonometric functions from the <xref:System.Math> class to calculate the inner angles of a trapezoid.
52-
53-
[!code-cpp[MathSample#1](~/samples/snippets/cpp/VS_Snippets_CLR/MathSample/CPP/mathsample.cpp#1)]
54-
[!code-csharp[MathSample#1](~/samples/snippets/csharp/VS_Snippets_CLR/MathSample/CS/mathsample.cs#1)]
55-
[!code-vb[MathSample#1](~/samples/snippets/visualbasic/VS_Snippets_CLR/MathSample/VB/mathsample.vb#1)]
52+
53+
:::code language="cpp" source="~/samples/snippets/cpp/VS_Snippets_CLR/MathSample/CPP/mathsample.cpp" id="Snippet1":::
54+
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR/MathSample/CS/mathsample.cs" interactive="try-dotnet" id="Snippet1":::
55+
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR/MathSample/VB/mathsample.vb" id="Snippet1":::
5656
5757
]]></format>
5858
</remarks>
@@ -851,10 +851,10 @@
851851
852852
## Examples
853853
The following example demonstrates how to calculate the arctangent of a value and display it to the console.
854-
855-
[!code-cpp[math.atanx#1](~/samples/snippets/cpp/VS_Snippets_CLR/math.atanx/CPP/atan.cpp#1)]
856-
[!code-csharp[math.atanx#1](~/samples/snippets/csharp/VS_Snippets_CLR/math.atanx/CS/atan.cs#1)]
857-
[!code-vb[math.atanx#1](~/samples/snippets/visualbasic/VS_Snippets_CLR/math.atanx/VB/atan.vb#1)]
854+
855+
:::code language="cpp" source="~/samples/snippets/cpp/VS_Snippets_CLR/math.atanx/CPP/atan.cpp" id="Snippet1":::
856+
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR/math.atanx/CS/atan.cs" interactive="try-dotnet" id="Snippet1":::
857+
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR/math.atanx/VB/atan.vb" id="Snippet1":::
858858
859859
]]></format>
860860
</remarks>
@@ -942,10 +942,10 @@
942942
943943
## Examples
944944
The following example demonstrates how to calculate the arctangent of an angle and a vector. The resulting value is displayed in the console.
945-
946-
[!code-cpp[math.atanx#1](~/samples/snippets/cpp/VS_Snippets_CLR/math.atanx/CPP/atan.cpp#1)]
947-
[!code-csharp[math.atanx#1](~/samples/snippets/csharp/VS_Snippets_CLR/math.atanx/CS/atan.cs#1)]
948-
[!code-vb[math.atanx#1](~/samples/snippets/visualbasic/VS_Snippets_CLR/math.atanx/VB/atan.vb#1)]
945+
946+
:::code language="cpp" source="~/samples/snippets/cpp/VS_Snippets_CLR/math.atanx/CPP/atan.cpp" id="Snippet1":::
947+
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR/math.atanx/CS/atan.cs" interactive="try-dotnet" id="Snippet1":::
948+
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR/math.atanx/VB/atan.vb" id="Snippet1":::
949949
950950
]]></format>
951951
</remarks>
@@ -2047,10 +2047,10 @@ Dim i2 As Integer = CInt(Math.Ceiling(d2)) ' Result: 7969
20472047
20482048
## Examples
20492049
The following example uses <xref:System.Math.Cos%2A> to evaluate certain trigonometric identities for selected angles.
2050-
2051-
[!code-cpp[System.Math.SinCos#1](~/samples/snippets/cpp/VS_Snippets_CLR_System/system.Math.SinCos/CPP/sincos.cpp#1)]
2052-
[!code-csharp[System.Math.SinCos#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Math.SinCos/CS/sincos.cs#1)]
2053-
[!code-vb[System.Math.SinCos#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.SinCos/VB/sincos.vb#1)]
2050+
2051+
:::code language="cpp" source="~/samples/snippets/cpp/VS_Snippets_CLR_System/system.Math.SinCos/CPP/sincos.cpp" id="Snippet1":::
2052+
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Math.SinCos/CS/sincos.cs" interactive="try-dotnet" id="Snippet1":::
2053+
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.SinCos/VB/sincos.vb" id="Snippet1":::
20542054
20552055
]]></format>
20562056
</remarks>
@@ -2190,9 +2190,9 @@ Dim i2 As Integer = CInt(Math.Ceiling(d2)) ' Result: 7969
21902190
21912191
## Examples
21922192
The following example demonstrates the <xref:System.Math.DivRem%28System.Int32%2CSystem.Int32%2CSystem.Int32%40%29> method.
2193-
2194-
[!code-csharp[System.Math.DivRem#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.math.divrem/cs/divrem1.cs#1)]
2195-
[!code-vb[System.Math.DivRem#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.math.divrem/vb/divrem1.vb#1)]
2193+
2194+
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/system.math.divrem/cs/divrem1.cs" interactive="try-dotnet" id="Snippet1":::
2195+
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.math.divrem/vb/divrem1.vb" id="Snippet1":::
21962196
21972197
]]></format>
21982198
</remarks>
@@ -2260,9 +2260,9 @@ Dim i2 As Integer = CInt(Math.Ceiling(d2)) ' Result: 7969
22602260
22612261
## Examples
22622262
The following example demonstrates the <xref:System.Math.DivRem%28System.Int64%2CSystem.Int64%2CSystem.Int64%40%29> method.
2263-
2264-
[!code-csharp[System.Math.DivRem#2](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.math.divrem/cs/divrem2.cs#2)]
2265-
[!code-vb[System.Math.DivRem#2](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.math.divrem/vb/divrem2.vb#2)]
2263+
2264+
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/system.math.divrem/cs/divrem2.cs" interactive="try-dotnet" id="Snippet2":::
2265+
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.math.divrem/vb/divrem2.vb" id="Snippet2":::
22662266
22672267
]]></format>
22682268
</remarks>
@@ -2391,10 +2391,10 @@ Dim i2 As Integer = CInt(Math.Ceiling(d2)) ' Result: 7969
23912391
23922392
## Examples
23932393
The following example uses <xref:System.Math.Exp%2A> to evaluate certain exponential and logarithmic identities for selected values.
2394-
2395-
[!code-cpp[System.Math.Exp#1](~/samples/snippets/cpp/VS_Snippets_CLR_System/system.Math.Exp/CPP/exp.cpp#1)]
2396-
[!code-csharp[System.Math.Exp#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Math.Exp/CS/exp.cs#1)]
2397-
[!code-vb[System.Math.Exp#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Exp/VB/exp.vb#1)]
2394+
2395+
:::code language="cpp" source="~/samples/snippets/cpp/VS_Snippets_CLR_System/system.Math.Exp/CPP/exp.cpp" id="Snippet1":::
2396+
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Math.Exp/CS/exp.cs" interactive="try-dotnet" id="Snippet1":::
2397+
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Exp/VB/exp.vb" id="Snippet1":::
23982398
23992399
]]></format>
24002400
</remarks>
@@ -2831,9 +2831,9 @@ Remainder = (Math.Abs(dividend) - (Math.Abs(divisor) *
28312831
28322832
## Examples
28332833
The following example illustrates the <xref:System.Math.Log%2A> method.
2834-
2835-
[!code-csharp[System.Math.Log_Overloads#2](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Math.Log_Overloads/CS/log1.cs#2)]
2836-
[!code-vb[System.Math.Log_Overloads#2](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Log_Overloads/VB/log1.vb#2)]
2834+
2835+
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Math.Log_Overloads/CS/log1.cs" interactive="try-dotnet" id="Snippet2":::
2836+
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Log_Overloads/VB/log1.vb" id="Snippet2":::
28372837
28382838
]]></format>
28392839
</remarks>
@@ -2979,10 +2979,10 @@ Remainder = (Math.Abs(dividend) - (Math.Abs(divisor) *
29792979
29802980
## Examples
29812981
The following example uses <xref:System.Math.Log%2A> to evaluate certain logarithmic identities for selected values.
2982-
2983-
[!code-cpp[System.Math.Log_Overloads#1](~/samples/snippets/cpp/VS_Snippets_CLR_System/system.Math.Log_Overloads/CPP/loggen.cpp#1)]
2984-
[!code-csharp[System.Math.Log_Overloads#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Math.Log_Overloads/CS/loggen.cs#1)]
2985-
[!code-vb[System.Math.Log_Overloads#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Log_Overloads/VB/loggen.vb#1)]
2982+
2983+
:::code language="cpp" source="~/samples/snippets/cpp/VS_Snippets_CLR_System/system.Math.Log_Overloads/CPP/loggen.cpp" id="Snippet1":::
2984+
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Math.Log_Overloads/CS/loggen.cs" interactive="try-dotnet" id="Snippet1":::
2985+
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Log_Overloads/VB/loggen.vb" id="Snippet1":::
29862986
29872987
]]></format>
29882988
</remarks>
@@ -4558,10 +4558,10 @@ The following example demonstrates how to use the <xref:System.Math.Min%2A> meth
45584558
45594559
## Examples
45604560
The following example uses <xref:System.Math.PI> to assist in the computation of the inner angles of a given trapezoid.
4561-
4562-
[!code-cpp[MathSample#1](~/samples/snippets/cpp/VS_Snippets_CLR/MathSample/CPP/mathsample.cpp#1)]
4563-
[!code-csharp[MathSample#1](~/samples/snippets/csharp/VS_Snippets_CLR/MathSample/CS/mathsample.cs#1)]
4564-
[!code-vb[MathSample#1](~/samples/snippets/visualbasic/VS_Snippets_CLR/MathSample/VB/mathsample.vb#1)]
4561+
4562+
:::code language="cpp" source="~/samples/snippets/cpp/VS_Snippets_CLR/MathSample/CPP/mathsample.cpp" id="Snippet1":::
4563+
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR/MathSample/CS/mathsample.cs" interactive="try-dotnet" id="Snippet1":::
4564+
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR/MathSample/VB/mathsample.vb" id="Snippet1":::
45654565
45664566
]]></format>
45674567
</remarks>
@@ -5551,11 +5551,11 @@ The following example demonstrates how to use the <xref:System.Math.Round%28Syst
55515551
55525552
## Examples
55535553
The following example demonstrates how to use the <xref:System.Math.Sign%28System.Decimal%29> method to determine the sign of a <xref:System.Decimal> value and display it to the console.
5554-
5555-
[!code-cpp[Math.Sign#1](~/samples/snippets/cpp/VS_Snippets_CLR/math.sign/CPP/sign.cpp#1)]
5556-
[!code-csharp[Math.Sign#1](~/samples/snippets/csharp/VS_Snippets_CLR/math.sign/CS/sign.cs#1)]
5557-
[!code-vb[Math.Sign#1](~/samples/snippets/visualbasic/VS_Snippets_CLR/math.sign/VB/sign.vb#1)]
5558-
5554+
5555+
:::code language="cpp" source="~/samples/snippets/cpp/VS_Snippets_CLR/math.sign/CPP/sign.cpp" id="Snippet1":::
5556+
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR/math.sign/CS/sign.cs" interactive="try-dotnet" id="Snippet1":::
5557+
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR/math.sign/VB/sign.vb" id="Snippet1":::
5558+
55595559
]]></format>
55605560
</remarks>
55615561
</Docs>
@@ -5631,10 +5631,10 @@ The following example demonstrates how to use the <xref:System.Math.Round%28Syst
56315631
56325632
## Examples
56335633
The following example demonstrates how to use the <xref:System.Math.Sign%28System.Double%29> method to determine the sign of a <xref:System.Double> value and display it to the console.
5634-
5635-
[!code-cpp[Math.Sign#1](~/samples/snippets/cpp/VS_Snippets_CLR/math.sign/CPP/sign.cpp#1)]
5636-
[!code-csharp[Math.Sign#1](~/samples/snippets/csharp/VS_Snippets_CLR/math.sign/CS/sign.cs#1)]
5637-
[!code-vb[Math.Sign#1](~/samples/snippets/visualbasic/VS_Snippets_CLR/math.sign/VB/sign.vb#1)]
5634+
5635+
:::code language="cpp" source="~/samples/snippets/cpp/VS_Snippets_CLR/math.sign/CPP/sign.cpp" id="Snippet1":::
5636+
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR/math.sign/CS/sign.cs" interactive="try-dotnet" id="Snippet1":::
5637+
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR/math.sign/VB/sign.vb" id="Snippet1":::
56385638
56395639
]]></format>
56405640
</remarks>
@@ -5713,10 +5713,10 @@ The following example demonstrates how to use the <xref:System.Math.Round%28Syst
57135713
57145714
## Examples
57155715
The following example demonstrates how to use the <xref:System.Math.Sign%28System.Int16%29> method to determine the sign of an <xref:System.Int16> value and display it to the console.
5716-
5717-
[!code-cpp[Math.Sign#1](~/samples/snippets/cpp/VS_Snippets_CLR/math.sign/CPP/sign.cpp#1)]
5718-
[!code-csharp[Math.Sign#1](~/samples/snippets/csharp/VS_Snippets_CLR/math.sign/CS/sign.cs#1)]
5719-
[!code-vb[Math.Sign#1](~/samples/snippets/visualbasic/VS_Snippets_CLR/math.sign/VB/sign.vb#1)]
5716+
5717+
:::code language="cpp" source="~/samples/snippets/cpp/VS_Snippets_CLR/math.sign/CPP/sign.cpp" id="Snippet1":::
5718+
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR/math.sign/CS/sign.cs" interactive="try-dotnet" id="Snippet1":::
5719+
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR/math.sign/VB/sign.vb" id="Snippet1":::
57205720
57215721
]]></format>
57225722
</remarks>
@@ -5794,9 +5794,9 @@ The following example demonstrates how to use the <xref:System.Math.Round%28Syst
57945794
## Examples
57955795
The following example demonstrates how to use the <xref:System.Math.Sign%28System.Int32%29> method to determine the sign of an <xref:System.Int32> value and display it to the console.
57965796
5797-
[!code-cpp[Math.Sign#1](~/samples/snippets/cpp/VS_Snippets_CLR/math.sign/CPP/sign.cpp#1)]
5798-
[!code-csharp[Math.Sign#1](~/samples/snippets/csharp/VS_Snippets_CLR/math.sign/CS/sign.cs#1)]
5799-
[!code-vb[Math.Sign#1](~/samples/snippets/visualbasic/VS_Snippets_CLR/math.sign/VB/sign.vb#1)]
5797+
:::code language="cpp" source="~/samples/snippets/cpp/VS_Snippets_CLR/math.sign/CPP/sign.cpp" id="Snippet1":::
5798+
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR/math.sign/CS/sign.cs" interactive="try-dotnet" id="Snippet1":::
5799+
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR/math.sign/VB/sign.vb" id="Snippet1":::
58005800
58015801
]]></format>
58025802
</remarks>
@@ -5873,10 +5873,10 @@ The following example demonstrates how to use the <xref:System.Math.Round%28Syst
58735873
58745874
## Examples
58755875
The following example demonstrates how to use the <xref:System.Math.Sign%28System.Int64%29> method to determine the sign of an <xref:System.Int64> value and display it to the console.
5876-
5877-
[!code-cpp[Math.Sign#1](~/samples/snippets/cpp/VS_Snippets_CLR/math.sign/CPP/sign.cpp#1)]
5878-
[!code-csharp[Math.Sign#1](~/samples/snippets/csharp/VS_Snippets_CLR/math.sign/CS/sign.cs#1)]
5879-
[!code-vb[Math.Sign#1](~/samples/snippets/visualbasic/VS_Snippets_CLR/math.sign/VB/sign.vb#1)]
5876+
5877+
:::code language="cpp" source="~/samples/snippets/cpp/VS_Snippets_CLR/math.sign/CPP/sign.cpp" id="Snippet1":::
5878+
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR/math.sign/CS/sign.cs" interactive="try-dotnet" id="Snippet1":::
5879+
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR/math.sign/VB/sign.vb" id="Snippet1":::
58805880
58815881
]]></format>
58825882
</remarks>
@@ -5956,10 +5956,10 @@ The following example demonstrates how to use the <xref:System.Math.Round%28Syst
59565956
59575957
## Examples
59585958
The following example demonstrates how to use the <xref:System.Math.Sign%28System.SByte%29> method to determine the sign of an <xref:System.SByte> value and display it to the console.
5959-
5960-
[!code-cpp[Math.Sign#1](~/samples/snippets/cpp/VS_Snippets_CLR/math.sign/CPP/sign.cpp#1)]
5961-
[!code-csharp[Math.Sign#1](~/samples/snippets/csharp/VS_Snippets_CLR/math.sign/CS/sign.cs#1)]
5962-
[!code-vb[Math.Sign#1](~/samples/snippets/visualbasic/VS_Snippets_CLR/math.sign/VB/sign.vb#1)]
5959+
5960+
:::code language="cpp" source="~/samples/snippets/cpp/VS_Snippets_CLR/math.sign/CPP/sign.cpp" id="Snippet1":::
5961+
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR/math.sign/CS/sign.cs" interactive="try-dotnet" id="Snippet1":::
5962+
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR/math.sign/VB/sign.vb" id="Snippet1":::
59635963
59645964
]]></format>
59655965
</remarks>
@@ -6036,10 +6036,10 @@ The following example demonstrates how to use the <xref:System.Math.Round%28Syst
60366036
60376037
## Examples
60386038
The following example demonstrates how to use the <xref:System.Math.Sign%28System.Single%29> method to determine the sign of a <xref:System.Single> value and display it to the console.
6039-
6040-
[!code-cpp[Math.Sign#1](~/samples/snippets/cpp/VS_Snippets_CLR/math.sign/CPP/sign.cpp#1)]
6041-
[!code-csharp[Math.Sign#1](~/samples/snippets/csharp/VS_Snippets_CLR/math.sign/CS/sign.cs#1)]
6042-
[!code-vb[Math.Sign#1](~/samples/snippets/visualbasic/VS_Snippets_CLR/math.sign/VB/sign.vb#1)]
6039+
6040+
:::code language="cpp" source="~/samples/snippets/cpp/VS_Snippets_CLR/math.sign/CPP/sign.cpp" id="Snippet1":::
6041+
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR/math.sign/CS/sign.cs" interactive="try-dotnet" id="Snippet1":::
6042+
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR/math.sign/VB/sign.vb" id="Snippet1":::
60436043
60446044
]]></format>
60456045
</remarks>
@@ -6107,10 +6107,10 @@ The following example demonstrates how to use the <xref:System.Math.Round%28Syst
61076107
61086108
## Examples
61096109
The following example uses <xref:System.Math.Sin%2A> to evaluate certain trigonometric identities for selected angles.
6110-
6111-
[!code-cpp[System.Math.SinCos#1](~/samples/snippets/cpp/VS_Snippets_CLR_System/system.Math.SinCos/CPP/sincos.cpp#1)]
6112-
[!code-csharp[System.Math.SinCos#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Math.SinCos/CS/sincos.cs#1)]
6113-
[!code-vb[System.Math.SinCos#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.SinCos/VB/sincos.vb#1)]
6110+
6111+
:::code language="cpp" source="~/samples/snippets/cpp/VS_Snippets_CLR_System/system.Math.SinCos/CPP/sincos.cpp" id="Snippet1":::
6112+
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Math.SinCos/CS/sincos.cs" interactive="try-dotnet" id="Snippet1":::
6113+
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.SinCos/VB/sincos.vb" id="Snippet1":::
61146114
61156115
]]></format>
61166116
</remarks>

0 commit comments

Comments
 (0)