UNPKG

@stdlib/number-float64-base-assert-is-same-value

Version:

Test if two double-precision floating-point numbers are the same value.

6 lines (5 loc) 291 B
"use strict";var i=function(e,r){return function(){return r||e((r={exports:{}}).exports,r),r.exports}};var u=i(function(f,t){ function s(e,r){return e===r?e===0?1/e===1/r:!0:e!==e&&r!==r}t.exports=s });var n=u();module.exports=n; /** @license Apache-2.0 */ //# sourceMappingURL=index.js.map