Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

.\" $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
These functions compute the argument (also called phase angle)
of
.Ar z ,
with a branch cut along the negative real axis.
.Sh RETURN VALUES
These functions return the value of the argument in the interval
[\-pi,\ +pi].
.Sh ERRORS
No errors are defined.
.Sh SEE ALSO
.Xr cimag 3 ,
.Xr conj 3 ,
.Xr cproj 3 ,
.St -p1003.1-2001
.Aq Pa complex .h
.Sh COPYRIGHT
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
Electrical and Electronics Engineers, Inc and The Open Group.
In the
event of any discrepancy between this version and the original IEEE and
The Open Group Standard, the original IEEE and The Open Group Standard
is the referee document.
The original Standard can be obtained online at
http://www.opengroup.org/unix/online.html .