xref: /dragonfly/contrib/openbsd_libm/man/cacos.3 (revision ef2687d4)
1.\"	$OpenBSD: cacos.3,v 1.2 2013/06/05 03:40:26 tedu Exp $
2.\"
3.\" Copyright (c) 2011 Martynas Venckus <martynas@openbsd.org>
4.\"
5.\" Permission to use, copy, modify, and distribute this software for any
6.\" purpose with or without fee is hereby granted, provided that the above
7.\" copyright notice and this permission notice appear in all copies.
8.\"
9.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\"
17.Dd $Mdocdate: June 5 2013 $
18.Dt CACOS 3
19.Os
20.Sh NAME
21.Nm cacos ,
22.Nm cacosf ,
23.Nm cacosl
24.Nd complex circular arc cosine
25.Sh SYNOPSIS
26.In complex.h
27.Ft double complex
28.Fn cacos "double complex z"
29.Ft float complex
30.Fn cacosf "float complex z"
31.Ft long double complex
32.Fn cacosl "long double complex z"
33.Sh DESCRIPTION
34The
35.Fn cacos ,
36.Fn cacosf
37and
38.Fn cacosl
39functions compute the complex circular arc cosine of
40.Fa z .
41.Pp
42For all complex floating-point numbers
43.Fa z ,
44.Bd -literal -offset indent
45cacos(z) = Pi/2 - casin(z).
46.Ed
47.Sh RETURN VALUES
48The
49.Fn cacos ,
50.Fn cacosf
51and
52.Fn cacosl
53functions return the complex circular arc cosine of
54.Fa z
55with unbounded imaginary part, and real part in the interval
56.Bq 0, Pi .
57.Sh SEE ALSO
58.Xr casin 3 ,
59.Xr catan 3
60.Sh STANDARDS
61The
62.Fn cacos ,
63.Fn cacosf
64and
65.Fn cacosl
66functions conform to
67.St -isoC-99 .
68