1 .\" Copyright (c) 2013 David Schultz <das@FreeBSD.org>
2 .\" All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
13 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
49 .Nd complex inverse trigonometric and hyperbolic functions
55 .Fn cacos "double complex z"
57 .Fn cacosf "float complex z"
58 .Ft long double complex
59 .Fn cacosl "long double complex z"
61 .Fn cacosh "double complex z"
63 .Fn cacoshf "float complex z"
64 .Ft long double complex
65 .Fn cacoshl "long double complex z"
67 .Fn casin "double complex z"
69 .Fn casinf "float complex z"
70 .Ft long double complex
71 .Fn casinl "long double complex z"
73 .Fn casinh "double complex z"
75 .Fn casinhf "float complex z"
76 .Ft long double complex
77 .Fn casinhl "long double complex z"
79 .Fn catan "double complex z"
81 .Fn catanf "float complex z"
82 .Ft long double complex
83 .Fn catanl "long double complex z"
85 .Fn catanh "double complex z"
87 .Fn catanhf "float complex z"
88 .Ft long double complex
89 .Fn catanhl "long double complex z"
96 functions compute the principal value of the inverse cosine, sine,
97 and tangent of the complex number
105 functions compute the principal value of the inverse hyperbolic
106 cosine, sine, and tangent.
115 functions perform the same operations in
126 functions perform the same operations in
131 There is no universal convention for defining the principal values of
133 The following table gives the branch cuts, and the
134 corresponding ranges for the return values, adopted by the C language.
135 .Bl -column ".Sy Function" ".Sy (-\*(If*I, -I) \*(Un (I, \*(If*I)" ".Sy [-\*(Pi/2*I, \*(Pi/2*I]"
136 .It Sy Function Ta Sy Branch Cut(s) Ta Sy Range
137 .It cacos Ta (-\*(If, -1) \*(Un (1, \*(If) Ta [0, \*(Pi]
138 .It casin Ta (-\*(If, -1) \*(Un (1, \*(If) Ta [-\*(Pi/2, \*(Pi/2]
139 .It catan Ta (-\*(If*I, -i) \*(Un (I, \*(If*I) Ta [-\*(Pi/2, \*(Pi/2]
140 .It cacosh Ta (-\*(If, 1) Ta [-\*(Pi*I, \*(Pi*I]
141 .It casinh Ta (-\*(If*I, -i) \*(Un (I, \*(If*I) Ta [-\*(Pi/2*I, \*(Pi/2*I]
142 .It catanh Ta (-\*(If, -1) \*(Un (1, \*(If) Ta [-\*(Pi/2*I, \*(Pi/2*I]
153 These functions conform to