forked from ard/ruoyi-api

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