File manager - Edit - /usr/local/lib/node_modules/bower/lib/node_modules/bower-config/node_modules/mout/math/norm.js
Back
/** * Gets normalized ratio of value inside range. */ function norm(val, min, max){ if (val < min || val > max) { throw new RangeError('value (' + val + ') must be between ' + min + ' and ' + max); } return val === max ? 1 : (val - min) / (max - min); } module.exports = norm;
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings