mirror of
https://github.com/github/codeql-action.git
synced 2025-12-26 17:20:10 +08:00
8 lines
149 B
JavaScript
8 lines
149 B
JavaScript
'use strict';
|
|
|
|
/** @type {import('.')} */
|
|
module.exports = function isNegativeZero(number) {
|
|
return number === 0 && (1 / number) === -Infinity;
|
|
};
|
|
|