I would like to place 2 UINT32's into a Double:
double d = 0;
unsigned int ia[2] = {0xdeadbeef, 0xcafefeed};
d = (double) ( (double)ia[0] | ((double)ia[1]<<32) );
However, this does not compile:
error C2296: '<<' : illegal, left operand has type 'double'
My input is a byte or integer stream. My output has to be a double.
How can I accomplish this?
J0xEFF