source: trip-planner-front/node_modules/core-js/modules/esnext.math.fscale.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: 388 bytes
Line 
1var $ = require('../internals/export');
2
3var scale = require('../internals/math-scale');
4var fround = require('../internals/math-fround');
5
6// `Math.fscale` method
7// https://rwaldron.github.io/proposal-math-extensions/
8$({ target: 'Math', stat: true }, {
9 fscale: function fscale(x, inLow, inHigh, outLow, outHigh) {
10 return fround(scale(x, inLow, inHigh, outLow, outHigh));
11 }
12});
Note: See TracBrowser for help on using the repository browser.