#include<algorithm>
#include<bitset>
#include<cstring>
#include<iomanip>
#include<iostream>
#include<iterator>
#include<memory>
using namespace std;

template<class Src,class Des>
inline void copy_to(const Src &src,Des &des) noexcept
{
	memcpy(addressof(des),addressof(src),sizeof(Src));
}

int main()
{
	unsigned char c[4];
	copy_to(185433.324f,c);
	for_each(rbegin(c),rend(c),[](const auto val){cout<<bitset<sizeof(unsigned char)*8>{val};});
	cout<<endl;

	float f;
	copy_to(c,f);
	cout<<fixed<<setprecision(8)<<f<<endl;
}