This is probably a simple question. The code is this:
I do not know what is exactly the meaning of the elements in the output of the 3-element Array. Are they randomly given or? I thought the vector is uninitialized, right?
I’m not in the computer right now, but I think that is the representation of a float64 of the bit value
0000000...000, you can try with
println(bitstring(x)) to see what’s happening. About why 64 zero bits have that representation… I don’t know, that’s how floating point works
I changed to my MAC book pro and the above is the code. Does this seem reasonable?
From Wikipedia, the first bit is the sign, the bites 2-12 are the exponent, and the rest are significant digits, so it makes sense
That is correct and the numbers you see are what happened to be in the memory that got allocated.