FLUJOS/BACK_BACK/node_modules/is-negative-zero/index.js
2025-11-07 00:06:12 +01:00

7 lines
149 B
JavaScript
Executable file

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