C
Chris
Hi,
a Single and Integer variable each take 4 bytes.
(check on :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vblr7/html/vagrpdatatype.asp)
But how come then that the range for valid values for an integer is
-2,147,483,648 through 2,147,483,647
(OK: 2pow32 = 4,294,967,296 e09 different posibillities )
and for a single
-3.4028235E+38 through -1.401298E-45 for negative values
1.401298E-45 through 3.4028235E+38 for positive values.
so many more values with the same amount of 32 bits ????
Any logical explanation for this ?
thnx
Christian
a Single and Integer variable each take 4 bytes.
(check on :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vblr7/html/vagrpdatatype.asp)
But how come then that the range for valid values for an integer is
-2,147,483,648 through 2,147,483,647
(OK: 2pow32 = 4,294,967,296 e09 different posibillities )
and for a single
-3.4028235E+38 through -1.401298E-45 for negative values
1.401298E-45 through 3.4028235E+38 for positive values.
so many more values with the same amount of 32 bits ????
Any logical explanation for this ?
thnx
Christian