diff --git a/helpers/isNegativeZero.js b/helpers/isNegativeZero.js index 045b36ad..5df5abb4 100644 --- a/helpers/isNegativeZero.js +++ b/helpers/isNegativeZero.js @@ -1,5 +1,5 @@ 'use strict'; -module.exports = function isNegativeZero(x) { - return x === 0 && 1 / x === 1 / -0; -}; +var isNegativeZero = require('is-negative-zero'); + +module.exports = isNegativeZero;