Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

PHP atanh() Function

PHP atanh() Function

PHP Math Reference Manual PHP Math Reference Manual

Example

Return the inverse hyperbolic tangent of different numbers:

"); echo(atanh(0.50) . "
"); echo(atanh(-0.50) . "
"); echo(atanh(1) . "
"); echo(atanh(-1)); ?>

Run Example »


Definition and Usage

The atanh() function returns the inverse hyperbolic tangent of a number.


Syntax

atanh(

number

);

Parameters Description
number Required. Specifies a number.

Technical Details

Return Value: number The inverse hyperbolic tangent of.
Return Type: Float
PHP Version: 4.1+
PHP Changelog: PHP 5.3: This function is available on all platforms.

PHP Math Reference Manual PHP Math Reference Manual