xref: /minix/lib/libm/complex/carg.3 (revision 00b67f09)
1.\" $NetBSD: carg.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 CARG 3
5.Os
6.Sh NAME
7.Nm carg ,
8.Nm cargf ,
9.Nm cargl
10.Nd complex argument functions
11.Sh SYNOPSIS
12.In complex.h
13.Ft double
14.Fn carg "double complex z"
15.Ft float
16.Fn cargf "float complex z"
17.Ft long double
18.Fn cargl "long double complex z"
19.Sh DESCRIPTION
20These functions compute the argument (also called phase angle)
21of
22.Ar z ,
23with a branch cut along the negative real axis.
24.Sh RETURN VALUES
25These functions return the value of the argument in the interval
26[\-pi,\ +pi].
27.Sh ERRORS
28No errors are defined.
29.Sh SEE ALSO
30.Xr cimag 3 ,
31.Xr conj 3 ,
32.Xr cproj 3 ,
33.St -p1003.1-2001
34.Aq Pa complex .h
35.Sh COPYRIGHT
36Portions of this text are reprinted and reproduced in electronic form
37from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
38-- Portable Operating System Interface (POSIX), The Open Group Base
39Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
40Electrical and Electronics Engineers, Inc and The Open Group.
41In the
42event of any discrepancy between this version and the original IEEE and
43The Open Group Standard, the original IEEE and The Open Group Standard
44is the referee document.
45The original Standard can be obtained online at
46http://www.opengroup.org/unix/online.html .
47