atanh (Function)

Signature: atanh(x: float) -> float

Description: The inverse hyperbolic tangent. Total: |x| > 1 yields NaN, and exactly 1 yields infinity.

Parameters

  • x (float): The float argument

Returns: float

Example

print(atanh(0.5))  // 0.5493061443340549
print (atanh 0.5)  // 0.5493061443340549