csqrt.3 (c7a43da6) csqrt.3 (a9230a7b)
1.\" $NetBSD: csqrt.3,v 1.1 2008/02/20 09:55:38 drochner Exp $
2.\" Copyright (c) 2001-2003 The Open Group, All Rights Reserved
3.TH "CSQRT" 3P 2003 "IEEE/The Open Group" "POSIX Programmer's Manual"
4.\" csqrt
5.SH NAME
6csqrt, csqrtf \- complex square root functions
7.SH SYNOPSIS
8.LP
9\fB#include <complex.h>
10.br
11.sp
12double complex csqrt(double complex\fP \fIz\fP\fB);
13.br
14float complex csqrtf(float complex\fP \fIz\fP\fB);
15.br
16\fP
17.SH DESCRIPTION
18.LP
19These functions compute the complex square root of \fIz\fP,
1.\" $NetBSD: csqrt.3,v 1.2 2012/12/27 21:34:10 wiz Exp $
2.\" Copyright (c) 2001-2003 The Open Group, All Rights Reserved
3.Dd December 27, 2012
4.Dt CSQRT 3
5.Os
6.Sh NAME
7.Nm csqrt ,
8.Nm csqrtf
9.Nd complex square root functions
10.Sh SYNOPSIS
11.In complex.h
12.Ft double complex
13.Fn csqrt "double complex z"
14.Ft float complex
15.Fn csqrtf "float complex z"
16.Sh DESCRIPTION
17These functions compute the complex square root of
18.Ar z ,
20with a branch cut along the negative real axis.
19with a branch cut along the negative real axis.
21.SH RETURN VALUE
22.LP
20.Sh RETURN VALUES
23These functions return the complex square root value, in the
21These functions return the complex square root value, in the
24range of the right half-plane (including the imaginary
25axis).
26.SH ERRORS
27.LP
22range of the right half-plane (including the imaginary axis).
23.Sh ERRORS
28No errors are defined.
24No errors are defined.
29.LP
30\fIThe following sections are informative.\fP
31.SH EXAMPLES
32.LP
33None.
34.SH APPLICATION USAGE
35.LP
36None.
37.SH RATIONALE
38.LP
39None.
40.SH FUTURE DIRECTIONS
41.LP
42None.
43.SH SEE ALSO
44.LP
45\fIcabs\fP(), \fIcpow\fP(), the Base Definitions volume of
46IEEE\ Std\ 1003.1-2001, \fI<complex.h>\fP
47.SH COPYRIGHT
25.Sh SEE ALSO
26.Xr cabs 3 ,
27.Xr cpow 3 ,
28.St -p1003.1-2001
29.Aq Pa complex.h
30.Sh COPYRIGHT
48Portions of this text are reprinted and reproduced in electronic form
49from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
50-- Portable Operating System Interface (POSIX), The Open Group Base
51Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
31Portions of this text are reprinted and reproduced in electronic form
32from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
33-- Portable Operating System Interface (POSIX), The Open Group Base
34Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
52Electrical and Electronics Engineers, Inc and The Open Group. In the
35Electrical and Electronics Engineers, Inc and The Open Group.
36In the
53event of any discrepancy between this version and the original IEEE and
54The Open Group Standard, the original IEEE and The Open Group Standard
37event of any discrepancy between this version and the original IEEE and
38The Open Group Standard, the original IEEE and The Open Group Standard
55is the referee document. The original Standard can be obtained online at
39is the referee document.
40The original Standard can be obtained online at
56http://www.opengroup.org/unix/online.html .
41http://www.opengroup.org/unix/online.html .