tor-browser

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

bug1438727.1.js (874B)


      1 let count = 0;
      2 function testMathyFunction(f, inputs) {
      3    for (var j = 0; j < inputs.length; ++j)
      4        for (var k = 0; k < inputs.length; ++k) {
      5            let a = f(inputs[j], inputs[k]);
      6            count += 1;
      7            print("Number " + count + ": " + a + " (inputs "+inputs[j]+","+inputs[k]+")");
      8        }
      9 }
     10 mathy0 = function(x, y) {
     11    return (x / (y ? x : -Number.MAX_SAFE_INTEGER) > Math.fround(+y & +0x100000000) ** Math.fround(y))
     12 }
     13 testMathyFunction(mathy0, /*MARR*/ [
     14    [1], , , [1],
     15    [1], , [1], , , [1], , [1], , , [1],
     16    [1], , [1], , , [1],
     17    [1], , [1], , [1],
     18    [1],
     19    [1], , -1 / 0
     20 ])
     21 
     22 testMathyFunction(mathy0, [, -Number.MAX_VALUE, Number.MIN_SAFE_INTEGER, 0x100000001, 0x07fffffff, -0x07fffffff, 0 / 0, Number.MIN_VALUE, -0x0ffffffff, Number.MAX_SAFE_INTEGER, 0x0ffffffff, -0x100000000, , 1 / 0, 0x080000000, -1 / 0, 0x100000000])