C++ (Qt) quint32 i = 1078984704; float f; memcpy(&f, &i, sizeof(float));
C++ (Qt)float f = *(float *) &i;
C++ (Qt)float &f = reinterpret_cast<float&>( i );
C++ (Qt)memcpy(&f, &i, sizeof(float));
C++ (Qt) quint32 i = 1078984704; float f; void* v = static_cast< void* >( &i ); f = *static_cast< float* >( v );
C++ (Qt) quint32 i = 1078984704; float f; f = *static_cast< float* >( static_cast< void* >( &i ) );
void* ptr = calloc(1, std::max(sizeof(int),sizeof(float))); memcpy(ptr, &i, sizeof(int)); f = *(float *) ptr;