1 .\" $NetBSD: carg.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 "CARG" 3P 2003 "IEEE/The Open Group" "POSIX Programmer's Manual"
6 carg, cargf \- complex argument functions
9 \fB#include <complex.h>
12 double carg(double complex\fP \fIz\fP\fB);
14 float cargf(float complex\fP \fIz\fP\fB);
19 These functions compute the argument (also called phase angle)
20 of \fIz\fP, with a branch cut along the negative real
24 These functions return the value of the argument in the interval
28 No errors are defined.
30 \fIThe following sections are informative.\fP
45 \fIcimag\fP(), \fIconj\fP(), \fIcproj\fP(), the
46 Base Definitions volume of IEEE\ Std\ 1003.1-2001, \fI<complex.h>\fP
48 Portions of this text are reprinted and reproduced in electronic form
49 from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
50 -- Portable Operating System Interface (POSIX), The Open Group Base
51 Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
52 Electrical and Electronics Engineers, Inc and The Open Group. In the
53 event of any discrepancy between this version and the original IEEE and
54 The Open Group Standard, the original IEEE and The Open Group Standard
55 is the referee document. The original Standard can be obtained online at
56 http://www.opengroup.org/unix/online.html .