English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Theatanh()
The function returns the inverse hyperbolic tangent of the specified number.
atanh(num)
num-the specified number. It needs.
Theatanh()
The function returns a floating-point value which is the hyperbolic tangent of the number.
<?php echo(atanh(1)) . "<br>"; echo(atanh(-1)); ?>
Output Result
INF<br>-INF
Let's look at another example-
<?php echo(atanh(M_PI_4)) . "<br>"; echo(atanh(0.90) . "<br>"; echo(atanh(-0.90) . "<br>"; ?>
Output Result
1.0593061708232<br>1.4722194895832<br>-1.4722194895832<br>
Let's look at another example-
<?php echo(atanh(0)); ?>
Output Result
0