man-pages/man3/cacos.3

31 lines
742 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 CACOS 3 2002-07-28 "" "Linux Programmer's Manual"
2004-11-03 13:51:07 +00:00
.SH NAME
cacos, cacosf, cacosl \- complex arc cosine
.SH SYNOPSIS
.B #include <complex.h>
.sp
.BI "double complex cacos(double complex " z );
.br
.BI "float complex cacosf(float complex " z );
.br
.BI "long double complex cacosl(long double complex " z );
2004-11-03 13:51:07 +00:00
.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
.BR cacos ()
2007-11-16 06:41:19 +00:00
function calculates the complex acos(3).
2004-11-03 13:51:07 +00:00
If y = cacos(z), then z = ccos(y).
The real part of y is chosen in the interval [0,pi].
.LP
2007-05-01 08:15:41 +00:00
One has cacos(z) = \-i clog(z + csqrt(z * z \- 1)).
2004-11-03 13:51:07 +00:00
.SH "CONFORMING TO"
C99
.SH "SEE ALSO"
.BR ccos (3),
.BR clog (3),
2006-04-21 01:24:06 +00:00
.BR complex (7)