1// 20.2.2.14 Math.expm1(x)
2var $expm1 = Math.expm1;
3module.exports = (!$expm1
4  // Old FF bug
5  || $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168
6  // Tor Browser bug
7  || $expm1(-2e-17) != -2e-17
8) ? function expm1(x) {
9  return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1;
10} : $expm1;
11