September 2017 Update

This commit is contained in:
Ingy döt Net 2017-09-23 10:01:46 +02:00
parent bba7bfd280
commit ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions

View file

@ -0,0 +1 @@
Dim i As Integer '32-bit signed integer

View file

@ -0,0 +1 @@
Dim i As ULong '64-bit unsigned integer

View file

@ -0,0 +1,3 @@
i = -18446744073709551615
i = 10000000000000000000 + 10000000000000000000
i = 9223372036854775807 - 18446744073709551615

View file

@ -0,0 +1 @@
i = 4294967296 * 4294967296

View file

@ -0,0 +1 @@
i = 4294967296 : i = i * i

View file

@ -0,0 +1,7 @@
Dim i As Integer '32-bit signed integer
Try
i = -2147483647 : i = -(i - 1)
Debug.Print(i)
Catch ex As Exception
Debug.Print("Exception raised : " & ex.Message)
End Try

View file

@ -0,0 +1,9 @@
i = -(-2147483647 - 1)
i = 0 - (-2147483647 - 1)
i = -(-2147483647L - 1)
i = -(-2147483647 - 2)
i = 2147483647 + 1
i = 2000000000 + 2000000000
i = -2147483647 - 2147483647
i = 46341 * 46341
i = (-2147483647 - 1) / -1

View file

@ -0,0 +1,2 @@
i = -Int(-2147483647 - 1)
i = -2147483647: i = -(i - 1)

View file

@ -0,0 +1 @@
Dim i As UInteger '32-bit unsigned integer

View file

@ -0,0 +1,4 @@
i = -4294967295
i = 3000000000 + 3000000000
i = 2147483647 - 4294967295
i = 65537 * 65537

View file

@ -0,0 +1 @@
i = 3000000000 : i = i + i

View file

@ -0,0 +1 @@
Dim i As Long '64-bit signed integer

View file

@ -0,0 +1,5 @@
i = -(-9223372036854775807 - 1)
i = 5000000000000000000 + 5000000000000000000
i = -9223372036854775807 - 9223372036854775807
i = 3037000500 * 3037000500
i = (-9223372036854775807 - 1) / -1

View file

@ -0,0 +1 @@
i = -9223372036854775807 : i = -(i - 1)