Ok, I know that the size of the mantissa of double is 53 bits, see if you can guess what values will be printed by this snippet
Code: (Select All)
Dim As Double x
x = 9007199254740992 ' 2^53
Print x
x = x + 1#
Print x
x = x + 1#
Print x
Print "================="
x = 9007199254740998
Print x
x = x + 1#
Print x
x = x + 1#
Print x
Print "================="
x = 9999999999999998
Print x
x = x + 1#
Print x