#!/usr/local/bin/node var d2u = d => (new BigUint64Array(Float64Array.of(d).buffer))[0]; console.log(d2u(0.0/0.0).toString(16))