source: imaps-frontend/node_modules/core-js/modules/esnext.math.isubh.js

main
Last change on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 433 bytes
Line 
1'use strict';
2var $ = require('../internals/export');
3
4// `Math.isubh` method
5// https://gist.github.com/BrendanEich/4294d5c212a6d2254703
6// TODO: Remove from `core-js@4`
7$({ target: 'Math', stat: true, forced: true }, {
8 isubh: function isubh(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.