diff options
Diffstat (limited to 'man3')
| -rw-r--r-- | man3/clog.3 | 10 | ||||
| -rw-r--r-- | man3/cosh.3 | 8 | ||||
| -rw-r--r-- | man3/creal.3 | 8 | ||||
| -rw-r--r-- | man3/csqrt.3 | 4 | ||||
| -rw-r--r-- | man3/erf.3 | 2 | ||||
| -rw-r--r-- | man3/sinh.3 | 8 | ||||
| -rw-r--r-- | man3/tanh.3 | 8 |
7 files changed, 34 insertions, 14 deletions
diff --git a/man3/clog.3 b/man3/clog.3 index cc31e2c340..e6cea885fc 100644 --- a/man3/clog.3 +++ b/man3/clog.3 @@ -1,7 +1,7 @@ .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de) .\" Distributed under GPL .\" -.TH CLOG 3 2002-07-28 "" "Linux Programmer's Manual" +.TH CLOG 3 2007-12-26 "" "Linux Programmer's Manual" .SH NAME clog, clogf, clogl \- natural logarithm of a complex number .SH SYNOPSIS @@ -19,12 +19,16 @@ The logarithm .BR clog () is the inverse function of the exponential .BR cexp (3). -Thus, if y = clog(z), then z = cexp(y). +Thus, if \fIy\ =\ clog(z)\fP, then \fIz\ =\ cexp(y)\fP. The imaginary part of .I y is chosen in the interval [\-pi,pi]. .LP -One has clog(z) = log(cabs(z)) + I * carg(z). +One has: +.nf + + clog(z) = log(cabs(z)) + I * carg(z) +.fi .LP Note that .I z diff --git a/man3/cosh.3 b/man3/cosh.3 index af56f0dc35..9bc6a3859f 100644 --- a/man3/cosh.3 +++ b/man3/cosh.3 @@ -29,7 +29,7 @@ .\" Modified 2002-07-27 by Walter Harms .\" (walter.harms@informatik.uni-oldenburg.de) .\" -.TH COSH 3 2002-07-27 "" "Linux Programmer's Manual" +.TH COSH 3 2007-12-26 "" "Linux Programmer's Manual" .SH NAME cosh, coshf, coshl \- hyperbolic cosine function .SH SYNOPSIS @@ -48,7 +48,11 @@ Link with \fI\-lm\fP. The .BR cosh () function returns the hyperbolic cosine of \fIx\fP, which -is defined mathematically as (exp(x) + exp(\-x)) / 2. +is defined mathematically as: +.nf + + cosh(x) = (exp(x) + exp(\-x)) / 2 +.nf .SH "CONFORMING TO" SVr4, POSIX, 4.3BSD, C99. The diff --git a/man3/creal.3 b/man3/creal.3 index e15b796646..407d6f6b49 100644 --- a/man3/creal.3 +++ b/man3/creal.3 @@ -1,7 +1,7 @@ .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de) .\" Distributed under GPL .\" -.TH CREAL 3 2002-07-28 "" "Linux Programmer's Manual" +.TH CREAL 3 2007-12-26 "" "Linux Programmer's Manual" .SH NAME creal, crealf, creall \- get real part of a complex number .SH SYNOPSIS @@ -20,7 +20,11 @@ The function returns the real part of the complex number .IR z . .LP -One has z = creal(z) + I * cimag(z). +One has: +.nf + + z = creal(z) + I * cimag(z) +.fi .SH "CONFORMING TO" C99 .SH NOTES diff --git a/man3/csqrt.3 b/man3/csqrt.3 index 49fbb25675..56452c092d 100644 --- a/man3/csqrt.3 +++ b/man3/csqrt.3 @@ -18,8 +18,8 @@ Link with \fI\-lm\fP. Calculate the square root of a given complex number, with non-negative real part, and with a branch cut along the negative real axis. -(That means that csqrt(\-1+eps*I) will be close to I while -csqrt(\-1\-eps*I) will be close to \-I, if eps is a small positive +(That means that \fIcsqrt(\-1+eps*I)\fP will be close to I while +\fIcsqrt(\-1\-eps*I)\fP will be close to \-I, \fIif eps\fP is a small positive real number.) .SH "CONFORMING TO" C99 diff --git a/man3/erf.3 b/man3/erf.3 index 09bb1cf48b..9a3ef90305 100644 --- a/man3/erf.3 +++ b/man3/erf.3 @@ -73,7 +73,7 @@ The function returns the error function of \fIx\fP; defined as .TP -erf(x) = 2/sqrt(pi)* integral from 0 to x of exp(\-t*t) dt + erf(x) = 2/sqrt(pi)* integral from 0 to x of exp(\-t*t) dt .PP The .BR erfc () diff --git a/man3/sinh.3 b/man3/sinh.3 index 8fc82a254d..9b0f83006f 100644 --- a/man3/sinh.3 +++ b/man3/sinh.3 @@ -29,7 +29,7 @@ .\" Modified 2002-07-27 by Walter Harms .\" (walter.harms@informatik.uni-oldenburg.de) .\" -.TH SINH 3 2002-07-27 "" "Linux Programmer's Manual" +.TH SINH 3 2007-12-26 "" "Linux Programmer's Manual" .SH NAME sinh, sinhf, sinhl \- hyperbolic sine function .SH SYNOPSIS @@ -48,7 +48,11 @@ Link with \fI\-lm\fP. The .BR sinh () function returns the hyperbolic sine of \fIx\fP, which -is defined mathematically as (exp(x) \- exp(\-x)) / 2. +is defined mathematically as: +.nf + + sinh(x) = (exp(x) \- exp(\-x)) / 2 +.fi .SH "CONFORMING TO" SVr4, 4.3BSD, C89. The diff --git a/man3/tanh.3 b/man3/tanh.3 index 26b00678bf..0fb8b0f5d2 100644 --- a/man3/tanh.3 +++ b/man3/tanh.3 @@ -28,7 +28,7 @@ .\" Modified 2002-07-27 by Walter Harms .\" (walter.harms@informatik.uni-oldenburg.de) .\" -.TH TANH 3 2002-07-27 "" "Linux Programmer's Manual" +.TH TANH 3 2007-12-26 "" "Linux Programmer's Manual" .SH NAME tanh, tanhf, tanhl \- hyperbolic tangent function .SH SYNOPSIS @@ -47,7 +47,11 @@ Link with \fI\-lm\fP. The .BR tanh () function returns the hyperbolic tangent of \fIx\fP, which -is defined mathematically as sinh(x) / cosh(x). +is defined mathematically as: +.nf + + tanh(x) = sinh(x) / cosh(x) +.nf .SH "CONFORMING TO" SVr4, 4.3BSD, C89. The |
