fL.js 113 B

12345
  1. var HALF_PI = Math.PI/2;
  2. module.exports = function(x, L) {
  3. return 2 * Math.atan(x * Math.exp(L)) - HALF_PI;
  4. };