Philipp Horstenkamp f2bd1a8cab
All checks were successful
Lint / pre-commit Linting (push) Successful in 22s
Dep update
2025-04-08 22:00:41 +02:00

7 lines
143 B
JavaScript

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