Menu
   ❮   
HTML CSS JAVASCRIPT SQL PYTHON JAVA PHP HOW TO W3.CSS C C++ C# BOOTSTRAP REACT MYSQL JQUERY EXCEL XML DJANGO NUMPY PANDAS NODEJS R TYPESCRIPT ANGULAR GIT POSTGRESQL MONGODB ASP AI GO KOTLIN SASS VUE DSA GEN AI SCIPY CYBERSECURITY DATA SCIENCE
     ❯   

C Math acosh() Function

❮ Math Functions


Example

Return the inverse hyperbolic cosine of different numbers:

printf("%f", acosh(7));
printf("%f", acosh(56));
printf("%f", acosh(2.45));
Try it Yourself »

Definition and Usage

The acosh() function returns the inverse hyperbolic cosine of a number.

The acosh() function is defined in the <math.h> header file.


Syntax

One of the following:

acosh(double number);

Parameter Values

Parameter Description
number Required. A number to find the inverse hyperbolic cosine of. If the value is less than 1, the function returns NaN (Not a Number).

Technical Details

Returns: A double value representing the inverse hyperbolic cosine of a number.

❮ Math Functions


Related Pages

C Functions Tutorial

C Math Functions Tutorial