Returns the inverse hyperbolic tangent of distinct numbers:
<?phpecho(atanh(M_PI_4) . "<br>");echo(atanh(0.50) . "<br>");echo(atanh(-0.50) . "<br>");echo(atanh(1 ) . "<br>");echo(atanh(-1));?>The atanh() function returns the inverse hyperbolic tangent of a number.
atanh( number );
| parameter | describe |
|---|---|
| number | Required. Specify a number. |
| Return value: | The inverse hyperbolic tangent of number . |
|---|---|
| Return type: | Float |
| PHP version: | 4.1+ |
| PHP change log: | PHP 5.3: This function is available on all platforms. |