.


Divya

atanh() Function in PHP with Example


The php atanh() function returns the inverse hyperbolic tangent of a number and its returns a float type.

Example

<!DOCTYPE html>
<html>
<body>
<?php
echo(atanh(M_PI_4) . "<br>");
echo(atanh(0.10) . "<br>");
echo(atanh(-0.10) . "<br>");
echo(atanh(1) . "<br>");
echo(atanh(-4));
?>
</body>
</html>


.