es6.math.asinh.js 229 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 // 20.2.2.5 Math.asinh(x) var $export = require('./$.export'); function asinh(x){ return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1)); } $export($export.S, 'Math', {asinh: asinh});