source:
imaps-frontend/node_modules/math-intrinsics/isNegativeZero.js
Last change on this file was 79a0317, checked in by , 3 days ago | |
---|---|
|
|
File size: 143 bytes |
Rev | Line | |
---|---|---|
[79a0317] | 1 | 'use strict'; |
2 | ||
3 | /** @type {import('./isNegativeZero')} */ | |
4 | module.exports = function isNegativeZero(x) { | |
5 | return x === 0 && 1 / x === 1 / -0; | |
6 | }; |
Note:
See TracBrowser
for help on using the repository browser.