|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 13 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
434 bytes
|
| Line | |
|---|
| 1 | 'use strict';
|
|---|
| 2 | var $ = require('../internals/export');
|
|---|
| 3 |
|
|---|
| 4 | // `Math.iaddh` method
|
|---|
| 5 | // https://gist.github.com/BrendanEich/4294d5c212a6d2254703
|
|---|
| 6 | // TODO: Remove from `core-js@4`
|
|---|
| 7 | $({ target: 'Math', stat: true, forced: true }, {
|
|---|
| 8 | iaddh: function iaddh(x0, x1, y0, y1) {
|
|---|
| 9 | var $x0 = x0 >>> 0;
|
|---|
| 10 | var $x1 = x1 >>> 0;
|
|---|
| 11 | var $y0 = y0 >>> 0;
|
|---|
| 12 | return $x1 + (y1 >>> 0) + (($x0 & $y0 | ($x0 | $y0) & ~($x0 + $y0 >>> 0)) >>> 31) | 0;
|
|---|
| 13 | }
|
|---|
| 14 | });
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.