PageRenderTime 20ms CodeModel.GetById 12ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 1// https://rwaldron.github.io/proposal-math-extensions/
 2var $export = require('./_export');
 3var scale = require('./_math-scale');
 4var fround = require('./_math-fround');
 5
 6$export($export.S, 'Math', {
 7  fscale: function fscale(x, inLow, inHigh, outLow, outHigh) {
 8    return fround(scale(x, inLow, inHigh, outLow, outHigh));
 9  }
10});