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
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()
98
98
constructed . Equals ( assigned ) ) ;
99
99
}
100
100
// The example displays the following output:
101
- // -2147483648 = -2147483648 : True
101
+ // -9223372036854775808 = -9223372036854775808 : True
102
102
// -10534 = -10534: True
103
103
// -189 = -189: True
104
104
// 0 = 0: True
105
105
// 17 = 17: True
106
106
// 113439 = 113439: True
107
- // 2147483647 = 2147483647 : True
107
+ // 9223372036854775807 = 9223372036854775807 : True
108
108
// </Snippet7>
109
109
}
110
110
Original file line number Diff line number Diff line change @@ -63,13 +63,13 @@ let longConstructor () =
63
63
let assigned = number
64
64
printfn $" {constructed} = {assigned}: {constructed.Equals assigned}"
65
65
// The example displays the following output:
66
- // -2147483648 = -2147483648 : True
66
+ // -9223372036854775808 = -9223372036854775808 : True
67
67
// -10534 = -10534: True
68
68
// -189 = -189: True
69
69
// 0 = 0: True
70
70
// 17 = 17: True
71
71
// 113439 = 113439: True
72
- // 2147483647 = 2147483647 : True
72
+ // 9223372036854775807 = 9223372036854775807 : True
73
73
// </Snippet7>
74
74
75
75
let singleConstructor () =
Original file line number Diff line number Diff line change @@ -92,13 +92,13 @@ Module Example
92
92
constructed.Equals(assigned))
93
93
Next
94
94
' The example displays the following output:
95
- ' -2147483648 = -2147483648 : True
95
+ ' -9223372036854775808 = -9223372036854775808 : True
96
96
' -10534 = -10534: True
97
97
' -189 = -189: True
98
98
' 0 = 0: True
99
99
' 17 = 17: True
100
100
' 113439 = 113439: True
101
- ' 2147483647 = 2147483647 : True
101
+ ' 9223372036854775807 = 9223372036854775807 : True
102
102
' </Snippet7>
103
103
End Sub
104
104
You can’t perform that action at this time.
0 commit comments