Sha256: bdd172566b01d5ae663ec8085881963bd47e35330da5a86e7ff63daf7fe9e96f

Contents?: true

Size: 515 Bytes

Versions: 24

Compression:

Stored size: 515 Bytes

Contents

var $ = require('../internals/export');

// `Math.umulh` method
// https://gist.github.com/BrendanEich/4294d5c212a6d2254703
// TODO: Remove from `core-js@4`
$({ target: 'Math', stat: true }, {
  umulh: function umulh(u, v) {
    var UINT16 = 0xFFFF;
    var $u = +u;
    var $v = +v;
    var u0 = $u & UINT16;
    var v0 = $v & UINT16;
    var u1 = $u >>> 16;
    var v1 = $v >>> 16;
    var t = (u1 * v0 >>> 0) + (u0 * v0 >>> 16);
    return u1 * v1 + (t >>> 16) + ((u0 * v1 >>> 0) + (t & UINT16) >>> 16);
  }
});

Version data entries

24 entries across 23 versions & 7 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/core-js/modules/esnext.math.umulh.js
disco_app-0.16.1 test/dummy/node_modules/core-js/modules/esnext.math.umulh.js
disco_app-0.15.2 test/dummy/node_modules/core-js/modules/esnext.math.umulh.js
disco_app-0.18.4 test/dummy/node_modules/core-js/modules/esnext.math.umulh.js
disco_app-0.18.1 test/dummy/node_modules/core-js/modules/esnext.math.umulh.js
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/core-js/modules/esnext.math.umulh.js
disco_app-0.14.0 test/dummy/node_modules/core-js/modules/esnext.math.umulh.js
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/core-js/modules/esnext.math.umulh.js
tang-0.2.1 spec/tang_app/node_modules/core-js/modules/esnext.math.umulh.js
groonga-client-model-6.0.0 test/apps/rails6.1.3/node_modules/core-js/modules/esnext.math.umulh.js
groonga-client-model-6.0.0 test/apps/rails6.0.3.5/node_modules/core-js/modules/esnext.math.umulh.js
ruby2js-4.0.4 lib/tasks/testrails/node_modules/core-js/modules/esnext.math.umulh.js
ruby2js-4.0.3 lib/tasks/testrails/node_modules/core-js/modules/esnext.math.umulh.js
tang-0.2.0 spec/tang_app/node_modules/core-js/modules/esnext.math.umulh.js
tang-0.1.0 spec/tang_app/node_modules/core-js/modules/esnext.math.umulh.js
tang-0.0.9 spec/tang_app/node_modules/core-js/modules/esnext.math.umulh.js
enju_library-0.3.8 spec/dummy/node_modules/core-js/modules/esnext.math.umulh.js
condenser-0.3 lib/condenser/processors/node_modules/core-js-pure/modules/esnext.math.umulh.js
condenser-0.2 lib/condenser/processors/node_modules/core-js-pure/modules/esnext.math.umulh.js
condenser-0.1 lib/condenser/processors/node_modules/core-js-pure/modules/esnext.math.umulh.js