source: trip-planner-front/node_modules/core-js/modules/esnext.math.iaddh.js@ e29cc2e

Last change on this file since e29cc2e was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 406 bytes
Line 
1var $ = require('../internals/export');
2
3// `Math.iaddh` method
4// https://gist.github.com/BrendanEich/4294d5c212a6d2254703
5// TODO: Remove from `core-js@4`
6$({ target: 'Math', stat: true }, {
7 iaddh: function iaddh(x0, x1, y0, y1) {
8 var $x0 = x0 >>> 0;
9 var $x1 = x1 >>> 0;
10 var $y0 = y0 >>> 0;
11 return $x1 + (y1 >>> 0) + (($x0 & $y0 | ($x0 | $y0) & ~($x0 + $y0 >>> 0)) >>> 31) | 0;
12 }
13});
Note: See TracBrowser for help on using the repository browser.