How to print Byte 1101010 version of a float?

I have to print a binary version of some vertex positions to check that there are no rounding errors, because the D3D top left fill implementation of the rasterizer is giving me tiny rendering errors, i have to check if my vertices are wrong. They print right, but i want to check thoroughly.

How can i print bitwise, in Js and in Cs?


// a is an Array of Bytes
var a=BitConverter.GetBytes(1.0f);

That’s how to do it in C# I think it’s the same in JS pretty much.