C atanh() Function

Last Updated:

C atanh()

The atanh() function returns the hyperbolic arc-tangent of the given number.

This function is defined in <math.h> header file.


C Compiler
#include <stdio.h> #include <math.h> int main() { printf("%lf", atanh(0.5)); return 0; }


atanh(data_type x)

Parameter Values

x Required Specifies a number.

Return Values

Number Returns the hyperbolic arc-tangent of x.
Infinity If the given value is 1.
-Infinity If the given value is -1.
Garbage value If the given value is greater than 1, or less than -1.

Share this Page

Meet the Author