Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
System Calls and Libraries: Sections 2 and 3 (Ref Pages Vol 3) > a

acosh(3M)

» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

acosh() — inverse hyperbolic cosine function

SYNOPSIS

#include <math.h>

double acosh(double x);

DESCRIPTION

The acosh() function computes the inverse hyperbolic cosine of its argument.

To use this function, link in the math library by specifying -lm on the compiler or linker command line.

RETURN VALUE

The acosh() function returns a value in the range +zero to +INFINITY.

If x is +INFINITY, acosh() returns +INFINITY.

If x is NaN, acosh() returns NaN.

If x < 1.0, acosh() returns NaN and sets errno to [EDOM].

ERRORS

If acosh() fails, errno is set to the following value.

[EDOM]

x is less than 1.0.

STANDARDS CONFORMANCE

acosh(): SVID3, XPG4.2

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.