tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

bug1140890.js (231B)


      1 function isNegativeZero(x) {
      2    return x===0 && (1/x)===-Infinity;
      3 }
      4 function f(y) {
      5    return -(0 != 1 / y) - -Math.imul(1, !y)
      6 }
      7 x = [-0, Infinity]
      8 for (var k = 0; k < 2; ++k) {
      9    assertEq(isNegativeZero(f(x[k])), false);
     10 }