Closed clairvoyante closed 3 years ago
In https://www.netlib.org/fdlibm/e_acosh.c (CPython use it also when acosh() is missing) :
* acosh(x) := log(x)+ln2, if x is large; else
* acosh(x) := log(2x-1/(sqrt(x*x-1)+x)) if x>2; else
* acosh(x) := log1p(t+sqrt(2.0*t+t*t)); where t=x-1.
CPython 3.9.1:
Brython 3.9.1 :