xref: /netbsd-src/lib/libm/complex/csqrt.3 (revision d6b3d22ed9927fe25a6d66d5b91753a8141e4ab6)
1.\" $NetBSD: csqrt.3,v 1.3 2013/01/29 02:05:09 matt Exp $
2.\" Copyright (c) 2001-2003 The Open Group, All Rights Reserved
3.Dd January 29, 2013
4.Dt CSQRT 3
5.Os
6.Sh NAME
7.Nm csqrt ,
8.Nm csqrtf ,
9.Nm csqrtl
10.Nd complex square root functions
11.Sh SYNOPSIS
12.In complex.h
13.Ft double complex
14.Fn csqrt "double complex z"
15.Ft float complex
16.Fn csqrtf "float complex z"
17.Ft long double complex
18.Fn csqrtl "long double complex z"
19.Sh DESCRIPTION
20These functions compute the complex square root of
21.Ar z ,
22with a branch cut along the negative real axis.
23.Sh RETURN VALUES
24These functions return the complex square root value, in the
25range of the right half-plane (including the imaginary axis).
26.Sh ERRORS
27No errors are defined.
28.Sh SEE ALSO
29.Xr cabs 3 ,
30.Xr cpow 3 ,
31.St -p1003.1-2001
32.Aq Pa complex.h
33.Sh COPYRIGHT
34Portions of this text are reprinted and reproduced in electronic form
35from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
36-- Portable Operating System Interface (POSIX), The Open Group Base
37Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
38Electrical and Electronics Engineers, Inc and The Open Group.
39In the
40event of any discrepancy between this version and the original IEEE and
41The Open Group Standard, the original IEEE and The Open Group Standard
42is the referee document.
43The original Standard can be obtained online at
44http://www.opengroup.org/unix/online.html .
45