G
Guest
Hi, just curious about how a double value is stored internally. I can go:
byte[] foo = BitConverter.GetBytes(45.78);
foreach(byte b in foo)
Console.WriteLine(b + " ");
I get 8 bytes, which makes sense, since a double is 64 bits, but how is the
number actually stored internally? Is it some kind of IEEE number? Just
curious.
JRB
byte[] foo = BitConverter.GetBytes(45.78);
foreach(byte b in foo)
Console.WriteLine(b + " ");
I get 8 bytes, which makes sense, since a double is 64 bits, but how is the
number actually stored internally? Is it some kind of IEEE number? Just
curious.
JRB