UNPKG
bs-ajv
Version:
latest (1.0.1)
1.1.0
1.0.1
1.0.0
BucklesScript bindings to Ajv (Another JSON Validator)
github.com/scull7/bs-ajv
scull7/bs-ajv
bs-ajv
/
node_modules.lol
/
core-js
/
modules
/
_math-log1p.js
5 lines
(4 loc)
•
154 B
JavaScript
View Raw
1
2
3
4
5
// 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); };