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

casinh(3M)

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

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

casinh(), casinhf(), casinhl(), casinhw(), casinhq() — complex arc hyperbolic sine functions

SYNOPSIS

#include <complex.h>

double complex casinh(double complex z);

float complex casinhf(float complex z);

long double complex casinhl(long double complex z);

extended complex casinhw(extended complex z);

quad complex casinhq(quad complex z);

DESCRIPTION

These functions are available only for Integrity servers.

casinh() returns the complex arc hyperbolic sine of z, in the range of a strip mathematically unbounded along the real axis and in the interval [-i*Pi/2,+i*Pi/2] along the imaginary axis. Branch cuts are outside the interval [-i,+i] along the imaginary axis.

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

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

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

casinhq() is equivalent to casinhl() on HP-UX systems.

USAGE

To use these functions, compile with the default -Ae option. To use casinhw() or casinhq(), 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

casinh(conj(z)) = conj(casinh(z)) and casinh is an odd function.

casinh(+0+i0) returns 0+i0.

casinh(x+iInf) returns +Inf+iPi/2 for positive-signed finite x.

casinh(x+iNaN) returns NaN+iNaN and may raise the invalid exception for finite x.

casinh(+Inf+iy) returns +Inf+i0 for positive-signed finite y.

casinh(+Inf+iInf) returns +Inf+iPi/4.

casinh(+Inf+iNaN) returns +Inf+iNaN.

casinh(NaN+i0) returns NaN+i0.

casinh(NaN+iy) returns NaN+iNaN and may raise the invalid exception for finite nonzero y.

casinh(NaN+iInf) returns ±Inf+iNaN (where the sign of the real part of the result is unspecified).

casinh(NaN+iNaN) returns NaN+iNaN.

ERRORS

No errors are defined.

STANDARDS CONFORMANCE

casinh(), casinhf(), casinhl() : 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.