atanh():inverse hyperbolic tangent

Calculate inverse hyperbolic tangent

atanh() returns the inverse hyperbolic tangent. For a finite real result, the input should be greater than -1 and less than 1.

$value = atanh(0.5);
echo $value;

Start with this current pattern. The examples below are retained for additional variations, output and reference.

<?Php
echo atanh(5); // Output NAN
echo "<br>";
echo atanh(1.5); // Output NAN
echo "<br>";
echo atanh(1); // Output INF
echo "<br>";
echo atanh(0.9); // Output 1.4722194895832
echo "<br>";
echo atanh(0); // Output 0
echo "<br>";
echo atanh(-0.5); // Output -0.54930614433405
echo "<br>";
echo atanh(-1); // Output -INF
echo "<br>";
echo atanh(-1.5); // Output NAN
echo "<br>";
echo atanh(-2.4); // Output NAN
?>
atanh(float X);
X is the input value
atanh returns an EDOM error if input absolute value exceeds 1.0

DEMO of atanh()

Output : Not a valid data
Enter data

Questions

MIN() function
Math Functions


Subscribe to our YouTube Channel here



plus2net.com











PHP video Tutorials
✖
We use cookies to improve your browsing experience. . Learn more
HTML MySQL PHP JavaScript ASP Photoshop Articles Contact us
© 2000-2026 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer