lix-website/themes/lix/assets/bootstrap/node_modules/is-negative-zero/index.js

8 lines
149 B
JavaScript
Raw Normal View History

2024-04-27 03:39:10 +00:00
'use strict';
/** @type {import('.')} */
module.exports = function isNegativeZero(number) {
return number === 0 && (1 / number) === -Infinity;
};