You can simply trivially write this yourself:
float x;
const unsigned char * pf = reinterpret_cast<const unsigned char*>(&x);
for (size_t i = 0; i != sizeof(float); ++i)
{
}
In fact, you can do this to get a binary representation of any variable (standard-layout *).
*) , @R. !
long double (, , 80- ), , 10 , 12 16 x86/x64 .