Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libm/complex Convert to mdoc and fix stuff while here.



details:   https://anonhg.NetBSD.org/src/rev/4438227ea5bd
branches:  trunk
changeset: 783538:4438227ea5bd
user:      wiz <wiz%NetBSD.org@localhost>
date:      Thu Dec 27 21:34:09 2012 +0000

description:
Convert to mdoc and fix stuff while here.

diffstat:

 lib/libm/complex/cabs.3   |  71 +++++++++++++---------------------
 lib/libm/complex/cacos.3  |  75 ++++++++++++++----------------------
 lib/libm/complex/cacosh.3 |  75 ++++++++++++++----------------------
 lib/libm/complex/carg.3   |  79 ++++++++++++++++----------------------
 lib/libm/complex/casin.3  |  77 +++++++++++++++----------------------
 lib/libm/complex/casinh.3 |  77 +++++++++++++++----------------------
 lib/libm/complex/catan.3  |  75 ++++++++++++++----------------------
 lib/libm/complex/catanh.3 |  77 +++++++++++++++----------------------
 lib/libm/complex/ccos.3   |  73 ++++++++++++++---------------------
 lib/libm/complex/ccosh.3  |  73 ++++++++++++++---------------------
 lib/libm/complex/cexp.3   |  78 +++++++++++++++----------------------
 lib/libm/complex/cimag.3  |  94 ++++++++++++++++++++--------------------------
 lib/libm/complex/clog.3   |  79 +++++++++++++++-----------------------
 lib/libm/complex/conj.3   |  81 +++++++++++++++++----------------------
 lib/libm/complex/cpow.3   |  75 ++++++++++++++----------------------
 lib/libm/complex/cproj.3  |  94 +++++++++++++++++++++++-----------------------
 lib/libm/complex/creal.3  |  95 ++++++++++++++++++++--------------------------
 lib/libm/complex/csin.3   |  73 ++++++++++++++---------------------
 lib/libm/complex/csinh.3  |  73 ++++++++++++++---------------------
 lib/libm/complex/csqrt.3  |  77 +++++++++++++++----------------------
 lib/libm/complex/ctan.3   |  73 ++++++++++++++---------------------
 lib/libm/complex/ctanh.3  |  73 ++++++++++++++---------------------
 22 files changed, 707 insertions(+), 1010 deletions(-)

diffs (truncated from 2035 to 300 lines):

diff -r 608f0ccb128a -r 4438227ea5bd lib/libm/complex/cabs.3
--- a/lib/libm/complex/cabs.3   Thu Dec 27 21:19:20 2012 +0000
+++ b/lib/libm/complex/cabs.3   Thu Dec 27 21:34:09 2012 +0000
@@ -1,53 +1,38 @@
-.\" $NetBSD: cabs.3,v 1.1 2008/02/20 09:55:38 drochner Exp $
-.\" Copyright (c) 2001-2003 The Open Group, All Rights Reserved 
-.TH "CABS" 3P 2003 "IEEE/The Open Group" "POSIX Programmer's Manual"
-.\" cabs 
-.SH NAME
-cabs, cabsf \- return a complex absolute value
-.SH SYNOPSIS
-.LP
-\fB#include <complex.h>
-.br
-.sp
-double cabs(double complex\fP \fIz\fP\fB);
-.br
-float cabsf(float complex\fP \fIz\fP\fB);
-.br
-\fP
-.SH DESCRIPTION
-.LP
+.\" $NetBSD: cabs.3,v 1.2 2012/12/27 21:34:09 wiz Exp $
+.\" Copyright (c) 2001-2003 The Open Group, All Rights Reserved
+.Dd December 27, 2012
+.Dt CABS 3
+.Os
+.Sh NAME
+.Nm cabs ,
+.Nm cabsf
+.Nd return a complex absolute value
+.Sh SYNOPSIS
+.In complex.h
+.Ft double
+.Fn cabs "double complex z"
+.Ft float
+.Fn cabsf "float complex z"
+.Sh DESCRIPTION
 These functions compute the complex absolute value (also called
-norm, modulus, or magnitude) of \fIz\fP.
-.SH RETURN VALUE
-.LP
+norm, modulus, or magnitude) of
+.Ar z .
+.Sh RETURN VALUES
 These functions return the complex absolute value.
-.SH ERRORS
-.LP
+.Sh ERRORS
 No errors are defined.
-.LP
-\fIThe following sections are informative.\fP
-.SH EXAMPLES
-.LP
-None.
-.SH APPLICATION USAGE
-.LP
-None.
-.SH RATIONALE
-.LP
-None.
-.SH FUTURE DIRECTIONS
-.LP
-None.
-.SH SEE ALSO
-.LP
-The Base Definitions volume of IEEE\ Std\ 1003.1-2001, \fI<complex.h>\fP
-.SH COPYRIGHT
+.Sh SEE ALSO
+.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
+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
+is the referee document.
+The original Standard can be obtained online at
 http://www.opengroup.org/unix/online.html .
diff -r 608f0ccb128a -r 4438227ea5bd lib/libm/complex/cacos.3
--- a/lib/libm/complex/cacos.3  Thu Dec 27 21:19:20 2012 +0000
+++ b/lib/libm/complex/cacos.3  Thu Dec 27 21:34:09 2012 +0000
@@ -1,57 +1,42 @@
-.\" $NetBSD: cacos.3,v 1.1 2008/02/20 09:55:38 drochner Exp $
-.\" Copyright (c) 2001-2003 The Open Group, All Rights Reserved 
-.TH "CACOS" 3P 2003 "IEEE/The Open Group" "POSIX Programmer's Manual"
-.\" cacos 
-.SH NAME
-cacos, cacosf \- complex arc cosine functions
-.SH SYNOPSIS
-.LP
-\fB#include <complex.h>
-.br
-.sp
-double complex cacos(double complex\fP \fIz\fP\fB);
-.br
-float complex cacosf(float complex\fP \fIz\fP\fB);
-.br
-\fP
-.SH DESCRIPTION
-.LP
-These functions compute the complex arc cosine of \fIz\fP, with
-branch cuts outside the interval [-1,\ +1] along the
+.\" $NetBSD: cacos.3,v 1.2 2012/12/27 21:34:10 wiz Exp $
+.\" Copyright (c) 2001-2003 The Open Group, All Rights Reserved
+.Dd December 27, 2012
+.Dt CACOS 3
+.Os
+.Sh NAME
+.Nm cacos ,
+.Nm cacosf
+.Nd complex arc cosine functions
+.Sh SYNOPSIS
+.In complex.h
+.Ft double complex
+.Fn cacos "double complex z"
+.Ft float complex
+.Fn cacosf "float complex z"
+.Sh DESCRIPTION
+These functions compute the complex arc cosine of
+.Ar z ,
+with branch cuts outside the interval [\-1,\ +1] along the
 real axis.
-.SH RETURN VALUE
-.LP
+.Sh RETURN VALUES
 These functions return the complex arc cosine value, in the
 range of a strip mathematically unbounded along the imaginary
 axis and in the interval [0,\ pi] along the real axis.
-.SH ERRORS
-.LP
+.Sh ERRORS
 No errors are defined.
-.LP
-\fIThe following sections are informative.\fP
-.SH EXAMPLES
-.LP
-None.
-.SH APPLICATION USAGE
-.LP
-None.
-.SH RATIONALE
-.LP
-None.
-.SH FUTURE DIRECTIONS
-.LP
-None.
-.SH SEE ALSO
-.LP
-\fIccos\fP(), the Base Definitions volume of IEEE\ Std\ 1003.1-2001,
-\fI<complex.h>\fP
-.SH COPYRIGHT
+.Sh SEE ALSO
+.Xr ccos 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
+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
+is the referee document.
+The original Standard can be obtained online at
 http://www.opengroup.org/unix/online.html .
diff -r 608f0ccb128a -r 4438227ea5bd lib/libm/complex/cacosh.3
--- a/lib/libm/complex/cacosh.3 Thu Dec 27 21:19:20 2012 +0000
+++ b/lib/libm/complex/cacosh.3 Thu Dec 27 21:34:09 2012 +0000
@@ -1,58 +1,43 @@
-.\" $NetBSD: cacosh.3,v 1.1 2008/02/20 09:55:38 drochner Exp $
-.\" Copyright (c) 2001-2003 The Open Group, All Rights Reserved 
-.TH "CACOSH" 3P 2003 "IEEE/The Open Group" "POSIX Programmer's Manual"
-.\" cacosh 
-.SH NAME
-cacosh, cacoshf \- complex arc hyperbolic cosine functions
-.SH SYNOPSIS
-.LP
-\fB#include <complex.h>
-.br
-.sp
-double complex cacosh(double complex\fP \fIz\fP\fB);
-.br
-float complex cacoshf(float complex\fP \fIz\fP\fB);
-.br
-\fP
-.SH DESCRIPTION
-.LP
+.\" $NetBSD: cacosh.3,v 1.2 2012/12/27 21:34:10 wiz Exp $
+.\" Copyright (c) 2001-2003 The Open Group, All Rights Reserved
+.Dd December 27, 2012
+.Dt CACOSH 3
+.Os
+.Sh NAME
+.Nm cacosh ,
+.Nm cacoshf
+.Nd complex arc hyperbolic cosine functions
+.Sh SYNOPSIS
+.In complex.h
+.Ft double complex
+.Fn cacosh "double complex z"
+.Ft float complex
+.Fn cacoshf "float complex z"
+.Sh DESCRIPTION
 These functions compute the complex arc hyperbolic cosine of
-\fIz\fP, with a branch cut at values less than 1 along the
-real axis.
-.SH RETURN VALUE
-.LP
+.Ar z ,
+with a branch cut at values less than 1 along the real axis.
+.Sh RETURN VALUES
 These functions return the complex arc hyperbolic cosine value,
 in the range of a half-strip of non-negative values along
-the real axis and in the interval [-\fIi\fPpi,\ +\fIi\fPpi] along
+the real axis and in the interval [\-i pi,\ +i pi] along
 the imaginary axis.
-.SH ERRORS
+.Sh ERRORS
 .LP
 No errors are defined.
-.LP
-\fIThe following sections are informative.\fP
-.SH EXAMPLES
-.LP
-None.
-.SH APPLICATION USAGE
-.LP
-None.
-.SH RATIONALE
-.LP
-None.
-.SH FUTURE DIRECTIONS
-.LP
-None.
-.SH SEE ALSO
-.LP
-\fIccosh\fP(), the Base Definitions volume of IEEE\ Std\ 1003.1-2001,
-\fI<complex.h>\fP
-.SH COPYRIGHT
+.Sh SEE ALSO
+.Xr ccosh 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
+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
+is the referee document.
+The original Standard can be obtained online at
 http://www.opengroup.org/unix/online.html .
diff -r 608f0ccb128a -r 4438227ea5bd lib/libm/complex/carg.3
--- a/lib/libm/complex/carg.3   Thu Dec 27 21:19:20 2012 +0000
+++ b/lib/libm/complex/carg.3   Thu Dec 27 21:34:09 2012 +0000
@@ -1,56 +1,43 @@
-.\" $NetBSD: carg.3,v 1.1 2008/02/20 09:55:38 drochner Exp $
-.\" Copyright (c) 2001-2003 The Open Group, All Rights Reserved 
-.TH "CARG" 3P 2003 "IEEE/The Open Group" "POSIX Programmer's Manual"
-.\" carg 
-.SH NAME
-carg, cargf \- complex argument functions
-.SH SYNOPSIS
-.LP
-\fB#include <complex.h>
-.br
-.sp
-double carg(double complex\fP \fIz\fP\fB);
-.br
-float cargf(float complex\fP \fIz\fP\fB);
-.br
-\fP
-.SH DESCRIPTION
-.LP
+.\" $NetBSD: carg.3,v 1.2 2012/12/27 21:34:10 wiz Exp $
+.\" Copyright (c) 2001-2003 The Open Group, All Rights Reserved
+.Dd December 27, 2012
+.Dt CARG 3
+.Os
+.Sh NAME
+.Nm carg ,
+.Nm cargf
+.Nd complex argument functions
+.Sh SYNOPSIS



Home | Main Index | Thread Index | Old Index