/node_modules/babel-polyfill/node_modules/core-js/library/modules/es7.math.fscale.js
https://bitbucket.org/worklabschd/bingle_customer2 · JavaScript · 10 lines · 8 code · 1 blank · 1 comment · 0 complexity · 987a218b00489a846104b60035271c63 MD5 · raw file
- // https://rwaldron.github.io/proposal-math-extensions/
- var $export = require('./_export');
- var scale = require('./_math-scale');
- var fround = require('./_math-fround');
- $export($export.S, 'Math', {
- fscale: function fscale(x, inLow, inHigh, outLow, outHigh) {
- return fround(scale(x, inLow, inHigh, outLow, outHigh));
- }
- });