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
HP-UX Reference > C

ccosh(3M)

HP Integrity Server Only
HP-UX 11i Version 3: February 2007
 

Technical documentation

Feedback
Content starts here

  Table of Contents

  Index

NAME

ccosh(), ccoshf(), ccoshl(), ccoshw(), ccoshq() — complex hyperbolic cosine functions

SYNOPSIS

#include <complex.h>

double complex ccosh(double complex z);

float complex ccoshf(float complex z);

long double complex ccoshl(long double complex z);

extended complex ccoshw(extended complex z);

quad complex ccoshq(quad complex z);

DESCRIPTION

These functions are available only for Integrity servers.

ccosh() returns the complex hyperbolic cosine of z.

ccoshf() is a float complex version of ccosh(); it takes a float complex argument and returns a float complex result.

ccoshl() is a long double complex version of ccosh(); it takes a long double complex argument and returns a long double complex result.

ccoshw() is an extended complex version of ccosh(); it takes an extended complex argument and returns an extended complex result.

ccoshq() is equivalent to ccoshl() on HP-UX systems.

USAGE

To use these functions, compile with the default -Ae option. To use ccoshw() or ccoshq(), compile with the -fpwidetypes option. Make sure your program includes <complex.h>. Link in the math library by specifying -lm on the compiler or linker command line.

RETURN VALUE

ccosh(conj(z)) = conj(ccosh(z)) and ccosh is even.

ccosh(+0+i0) returns 1+i0.

ccosh(+0+iInf) returns NaNi0 (where the sign of the imaginary part of the result is unspecified) and raises the invalid floating-point exception.

ccosh(+0+iNaN) returns NaNi0 (where the sign of the imaginary part of the result is unspecified).

ccosh(x+iInf) returns NaN+iNaN and raises the invalid floating-point exception, for finite nonzero x.

ccosh(x+iNaN) returns NaN+iNaN and optionally raises the invalid floating-point exception, for finite nonzero x.

ccosh(+Inf+i0) returns +Inf+i0.

ccosh(+Inf+iy) returns +Inf(cos(y)+isin(y)), for finite nonzero y.

ccosh(+Inf+iInf) returns Inf+iNaN (where the sign of the real part of the result is unspecified) and raises the invalid floating-point exception.

ccosh(+Inf+iNaN) returns +Inf+iNaN.

ccosh(NaN+i0) returns NaNi0 (where the sign of the imaginary part of the result is unspecified).

ccosh(NaN+iy) returns NaN+iNaN and optionally raises the invalid floating-point exception, for all nonzero numbers y.

ccosh(NaN+iNaN) returns NaN+iNaN.

ERRORS

No errors are defined.

STANDARDS CONFORMANCE

ccosh(), ccoshf(), ccoshf() : ISO/IEC C99 (including Annex G, ``IEC 60559-compatible complex arithmetic'')

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