X
HOME HTML5 CSS3 JAVASCRIPT SQL PHP5 JQUERY ANGULAR BOOTSTRAP3 XML MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

PHP atanh() Function

PHP Math Reference PHP Math Reference

Example

Return the inverse hyperbolic tangent of different numbers:

<?php
echo(atanh(M_PI_4) . "<br>");
echo(atanh(0.50) . "<br>");
echo(atanh(-0.50) . "<br>");
echo(atanh(1) . "<br>");
echo(atanh(-1));
?>

Run example »

Definition and Usage

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


Syntax

atanh(number);

Parameter Description
number Required. Specifies a number

Technical Details

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


PHP Math Reference PHP Math Reference

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB HOSTING

UK Reseller Hosting

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE

facebook