Closed athanclark closed 2 years ago
fround is a mostly implemented ES6 standard across browsers: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/fround#Browser_compatibility
fround
It rounds high precision floating points to their nearest Float32 value - very useful for WebGL ffi and ArrayBuffer nonsense :)
Oops, just saw #19
fround
is a mostly implemented ES6 standard across browsers: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/fround#Browser_compatibilityIt rounds high precision floating points to their nearest Float32 value - very useful for WebGL ffi and ArrayBuffer nonsense :)