UNPKG

math-intrinsics

Version:

ES Math-related intrinsics and helpers, robustly cached.

7 lines (5 loc) 143 B
'use strict'; /** @type {import('./isNegativeZero')} */ module.exports = function isNegativeZero(x) { return x === 0 && 1 / x === 1 / -0; };