projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
a92bf463ac4acac1b218750c2f305b6c95007fb1
[yaffs-website]
/
modules
/
_math-log1p.js
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
};