An ES-spec-compliant Math.fround shim/polyfill/replacement that works as far down as ES3
A ponyfill for ES6 Math.fround