_math-log1p.js 154 B

1234
  1. // 20.2.2.20 Math.log1p(x)
  2. module.exports = Math.log1p || function log1p(x) {
  3. return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x);
  4. };