1
2
3
4
5
6
7
8
9
10
| // 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));
| }
| });
|
|