OSDN Git Service

Update README
[linuxjm/LDP_man-pages.git] / original / man3 / carg.3
index 32d182a..6fea0f1 100644 (file)
@@ -1,9 +1,12 @@
 .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
+.\"
+.\" %%%LICENSE_START(GPL_NOVERSION_ONELINE)
 .\" Distributed under GPL
+.\" %%%LICENSE_END
 .\"
 .TH CARG 3 2008-08-11 "" "Linux Programmer's Manual"
 .SH NAME
-carg, cargf, cargl \- calculate the argument
+carg, cargf, cargl \- calculate the complex argument
 .SH SYNOPSIS
 .B #include <complex.h>
 .sp
@@ -22,7 +25,10 @@ One may use rectangular coordinates and gets
     z = x + I * y
 .fi
 
-where \fIx\ =\ creal(z)\fP and \fIy\ =\ cimag(z)\fP.
+where
+.IR "x\ =\ creal(z)"
+and
+.IR "y\ =\ cimag(z)" .
 .LP
 Or one may use polar coordinates and gets
 .nf
@@ -30,22 +36,35 @@ Or one may use polar coordinates and gets
     z = r * cexp(I * a)
 
 .fi
-where \fIr\ =\ cabs(z)\fP
-is the "radius", the "modulus", the absolute value of \fIz\fP, and
-\fIa\ =\ carg(z)\fP
-is the "phase angle", the argument of \fIz\fP.
+where
+.IR "r\ =\ cabs(z)"
+is the "radius", the "modulus", the absolute value of
+.IR z ,
+and
+.IR "a\ =\ carg(z)"
+is the "phase angle", the argument of
+.IR z .
 .LP
 One has:
 .nf
 
     tan(carg(z)) = cimag(z) / creal(z)
 .fi
-.SH "RETURN VALUE"
+.SH RETURN VALUE
 The return value is the range of [\-pi,pi].
 .SH VERSIONS
 These functions first appeared in glibc in version 2.1.
-.SH "CONFORMING TO"
+.SH CONFORMING TO
 C99.
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR cabs (3),
 .BR complex (7)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.