I am trying to perform something that is brain-dead simple in any other language but not javascript: get the bits out of float (and the other way around).
function DoubleToIEEE(f)
{
var buf = new ArrayBuffer(8);
(new Float64Array(buf))[0] = f;
return [ (new Uint32Array(buf))[0] ,(new Uint32Array(buf))[1] ];
}