creating a double precision value from individual bytes
Could anybody tell me if they know of any tricks with pointers or any functions in standard libraries that would allow me to do this:
I am interfacing with a piece of hardware that returns the 64 bits of a double precision value as an array of 8 bytes. These correspond to the 64 bits used for a double precision number. Other than resorting to using the equation (such as in wikipedia) to generate this value, I was hoping I could directly allocate these bytes to a pointer to double but so far I haven't found a way to do this. Is it possible?