Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
Mathematical Library Functionsacosh(3M)


NAME

 acosh, asinh, atanh - inverse hyperbolic functions

SYNOPSIS

 
cc [ flag ... ] file ... -lm [ library ... ]
#include <math.h>
double acosh(double x);
 double asinh(double x);
 double atanh(double x);

DESCRIPTION

 

The acosh(), asinh() and atanh() functions compute the inverse hyperbolic cosine, sine, and tangent of their argument, respectively.

RETURN VALUES

 

The acosh(), asinh() and atanh() functions return the inverse hyperbolic cosine, sine, and tangent of their argument, respectively.

The acosh() function returns NaN and sets errno to EDOM when its argument is less than 1.0.

The atanh() function returns NaN and sets errno to EDOM when its argument has absolute value greater than 1.0.

The atanh() function returns +-Inf and sets errno to ERANGE when its argument is +-1.0.

If x is NaN, the asinh(), acosh() and atanh() functions return NaN.

For exceptional cases, matherr(3M) tabulates the values to be returned as dictated by Standards other than XPG4.

ERRORS

 

The acosh() function will fail if:

EDOM
The x argument is less than 1.0.

The atanh() function will fail if:

EDOM
The x argument has an absolute value greater than 1.0.
ERANGE
The x argument has an absolute value equal to 1.0

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
MT-LevelMT-Safe

SEE ALSO

 

cosh(3M), matherr(3M), sinh(3M), tanh(3M), attributes(5), standards(5)


SunOS 5.9Go To TopLast Changed 29 Dec 1996

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.