File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
csharp/System.Numerics/BigInteger/.ctor
fsharp/System.Numerics/BigInteger/.ctor
visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -98,13 +98,13 @@ private static void LongConstructor()
9898 constructed . Equals ( assigned ) ) ;
9999 }
100100 // The example displays the following output:
101- // -2147483648 = -2147483648 : True
101+ // -9223372036854775808 = -9223372036854775808 : True
102102 // -10534 = -10534: True
103103 // -189 = -189: True
104104 // 0 = 0: True
105105 // 17 = 17: True
106106 // 113439 = 113439: True
107- // 2147483647 = 2147483647 : True
107+ // 9223372036854775807 = 9223372036854775807 : True
108108 // </Snippet7>
109109 }
110110
Original file line number Diff line number Diff line change @@ -63,13 +63,13 @@ let longConstructor () =
6363 let assigned = number
6464 printfn $" {constructed} = {assigned}: {constructed.Equals assigned}"
6565 // The example displays the following output:
66- // -2147483648 = -2147483648 : True
66+ // -9223372036854775808 = -9223372036854775808 : True
6767 // -10534 = -10534: True
6868 // -189 = -189: True
6969 // 0 = 0: True
7070 // 17 = 17: True
7171 // 113439 = 113439: True
72- // 2147483647 = 2147483647 : True
72+ // 9223372036854775807 = 9223372036854775807 : True
7373 // </Snippet7>
7474
7575let singleConstructor () =
Original file line number Diff line number Diff line change @@ -92,13 +92,13 @@ Module Example
9292 constructed.Equals(assigned))
9393 Next
9494 ' The example displays the following output:
95- ' -2147483648 = -2147483648 : True
95+ ' -9223372036854775808 = -9223372036854775808 : True
9696 ' -10534 = -10534: True
9797 ' -189 = -189: True
9898 ' 0 = 0: True
9999 ' 17 = 17: True
100100 ' 113439 = 113439: True
101- ' 2147483647 = 2147483647 : True
101+ ' 9223372036854775807 = 9223372036854775807 : True
102102 ' </Snippet7>
103103 End Sub
104104
You can’t perform that action at this time.
0 commit comments