jccp_a/vuepress/node_modules/math-intrinsics/isNegativeZero.js
hellcat ac91e1fbe4 1
2025-11-12 17:57:30 +08:00

7 lines
143 B
JavaScript

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