int i = ... float f = *(float*) &i;
union { int i; float f; } u; u.i = ... float f = u.f;
Just use memcpy :-)
Just use memcpy :-)