man-pages/man3/cacosh.3

44 lines
960 B
Groff
Raw Normal View History

2004-11-03 13:51:07 +00:00
.\" Copyright 2002 Walter Harms(walter.harms@informatik.uni-oldenburg.de)
.\" Distributed under GPL
.\"
.TH CACOSH 3 2008-08-11 "" "Linux Programmer's Manual"
2004-11-03 13:51:07 +00:00
.SH NAME
cacosh, cacoshf, cacoshl \- complex arc hyperbolic cosine
.SH SYNOPSIS
.B #include <complex.h>
.sp
.BI "double complex cacosh(double complex " z );
.br
2004-11-03 13:51:07 +00:00
.BI "float complex cacoshf(float complex " z );
.br
2004-11-03 13:51:07 +00:00
.BI "long double complex cacoshl(long double complex " z );
.sp
2007-07-21 05:25:03 +00:00
Link with \fI\-lm\fP.
2004-11-03 13:51:07 +00:00
.SH DESCRIPTION
The
2005-10-19 14:48:35 +00:00
.BR cacosh ()
2008-03-11 12:39:31 +00:00
function calculates the complex arc hyperpolic cosine of
2007-12-24 11:42:27 +00:00
.IR z .
If \fIy\ =\ cacosh(z)\fP, then \fIz\ =\ ccosh(y)\fP.
The imaginary part of
.I y
is chosen in the interval [\-pi,pi].
The real part of
.I y
is chosen non-negative.
2004-11-03 13:51:07 +00:00
.LP
2007-05-01 08:15:41 +00:00
One has:
2007-12-24 11:42:27 +00:00
.nf
cacosh(z) = (0.5) * clog((1 + z) / (1 \- z))
.fi
.SH VERSIONS
These functions first appeared in glibc in version 2.1.
2004-11-03 13:51:07 +00:00
.SH "CONFORMING TO"
C99.
2004-11-03 13:51:07 +00:00
.SH "SEE ALSO"
.BR acosh (3),
.BR cabs (3),
.BR cimag (3),
2006-04-21 01:24:06 +00:00
.BR complex (7)