wallet-core/node_modules/core-js/modules/$.math-expm1.js

4 lines
165 B
JavaScript
Raw Normal View History

2017-05-03 15:35:00 +02:00
// 20.2.2.14 Math.expm1(x)
module.exports = Math.expm1 || function expm1(x){
return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1;
};