2013-12-06 12:04:52 +01:00
|
|
|
.\" $NetBSD: carg.3,v 1.3 2013/01/29 02:05:09 matt Exp $
|
|
|
|
.\" Copyright (c) 2001-2003 The Open Group, All Rights Reserved
|
|
|
|
.Dd January 29, 2013
|
|
|
|
.Dt CARG 3
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm carg ,
|
|
|
|
.Nm cargf ,
|
|
|
|
.Nm cargl
|
|
|
|
.Nd complex argument functions
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.In complex.h
|
|
|
|
.Ft double
|
|
|
|
.Fn carg "double complex z"
|
|
|
|
.Ft float
|
|
|
|
.Fn cargf "float complex z"
|
|
|
|
.Ft long double
|
|
|
|
.Fn cargl "long double complex z"
|
|
|
|
.Sh DESCRIPTION
|
2011-03-18 16:52:16 +01:00
|
|
|
These functions compute the argument (also called phase angle)
|
2013-12-06 12:04:52 +01:00
|
|
|
of
|
|
|
|
.Ar z ,
|
|
|
|
with a branch cut along the negative real axis.
|
|
|
|
.Sh RETURN VALUES
|
2011-03-18 16:52:16 +01:00
|
|
|
These functions return the value of the argument in the interval
|
2013-12-06 12:04:52 +01:00
|
|
|
[\-pi,\ +pi].
|
|
|
|
.Sh ERRORS
|
2011-03-18 16:52:16 +01:00
|
|
|
No errors are defined.
|
2013-12-06 12:04:52 +01:00
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr cimag 3 ,
|
|
|
|
.Xr conj 3 ,
|
|
|
|
.Xr cproj 3 ,
|
|
|
|
.St -p1003.1-2001
|
|
|
|
.Aq Pa complex .h
|
|
|
|
.Sh COPYRIGHT
|
2011-03-18 16:52:16 +01:00
|
|
|
Portions of this text are reprinted and reproduced in electronic form
|
|
|
|
from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
|
|
|
|
-- Portable Operating System Interface (POSIX), The Open Group Base
|
|
|
|
Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
|
2013-12-06 12:04:52 +01:00
|
|
|
Electrical and Electronics Engineers, Inc and The Open Group.
|
|
|
|
In the
|
2011-03-18 16:52:16 +01:00
|
|
|
event of any discrepancy between this version and the original IEEE and
|
|
|
|
The Open Group Standard, the original IEEE and The Open Group Standard
|
2013-12-06 12:04:52 +01:00
|
|
|
is the referee document.
|
|
|
|
The original Standard can be obtained online at
|
2011-03-18 16:52:16 +01:00
|
|
|
http://www.opengroup.org/unix/online.html .
|