C acosh() Function

Last Updated:

C acosh()

The acosh() function returns the hyperbolic arc-cosine of the given number.

This function is defined in <math.h> header file.

Example

C Compiler
#include <stdio.h> #include <math.h> int main() { printf("%lf", acosh(2)); return 0; }

Syntax

acosh(data_type x)

Parameter Values

ValueTypeExplanation
x Required Specifies a number.

Return Value

ValueExplanation
Number Returns the hyperbolic arc-cosine of x.
NaN If the given value is less than 1 or empty.

Share this Page

Meet the Author