acosh.js 102 B

123
  1. export default function(x) {
  2. return 2 * Math.log(Math.sqrt((x + 1) / 2) + Math.sqrt((x - 1) / 2));
  3. }