From a145482cf625d5f04072fd1d20b5c2062cbe8e47 Mon Sep 17 00:00:00 2001 From: dd Date: Sun, 15 Jul 2001 07:53:42 +0000 Subject: Remove whitespace at EOL. --- lib/libm/common_source/acos.3 | 2 +- lib/libm/common_source/acosh.3 | 2 +- lib/libm/common_source/asinh.3 | 2 +- lib/libm/common_source/atan2.3 | 2 +- lib/libm/common_source/cos.3 | 2 +- lib/libm/common_source/cosh.3 | 2 +- lib/libm/common_source/erf.3 | 2 +- lib/libm/common_source/exp.3 | 8 ++++---- lib/libm/common_source/ieee.3 | 32 ++++++++++++++++---------------- lib/libm/common_source/infnan.3 | 10 +++++----- lib/libm/common_source/j0.3 | 2 +- lib/libm/common_source/lgamma.3 | 2 +- lib/libm/common_source/math.3 | 2 +- lib/libm/common_source/sinh.3 | 2 +- 14 files changed, 36 insertions(+), 36 deletions(-) (limited to 'lib/libm') diff --git a/lib/libm/common_source/acos.3 b/lib/libm/common_source/acos.3 index ceff4c7..b19dde4 100644 --- a/lib/libm/common_source/acos.3 +++ b/lib/libm/common_source/acos.3 @@ -53,7 +53,7 @@ A domain error occurs for arguments not in the range [-1, +1]. For a discussion of error due to roundoff, see .Xr math 3 . .Sh RETURN VALUES -The +The .Fn acos function returns the arc cosine in the range .Bq 0 , \*(Pi diff --git a/lib/libm/common_source/acosh.3 b/lib/libm/common_source/acosh.3 index a0b8498..495f3d7 100644 --- a/lib/libm/common_source/acosh.3 +++ b/lib/libm/common_source/acosh.3 @@ -80,5 +80,5 @@ causes a reserved operand fault. .Sh HISTORY The .Fn acosh -function appeared in +function appeared in .Bx 4.3 . diff --git a/lib/libm/common_source/asinh.3 b/lib/libm/common_source/asinh.3 index a69e00f..7266dad 100644 --- a/lib/libm/common_source/asinh.3 +++ b/lib/libm/common_source/asinh.3 @@ -68,5 +68,5 @@ returns the inverse hyperbolic sine of .Sh HISTORY The .Fn asinh -function appeared in +function appeared in .Bx 4.3 . diff --git a/lib/libm/common_source/atan2.3 b/lib/libm/common_source/atan2.3 index 4ad7ad5..dba32d4 100644 --- a/lib/libm/common_source/atan2.3 +++ b/lib/libm/common_source/atan2.3 @@ -55,7 +55,7 @@ the return value. The .Xr atan2 function, if successful, -returns the arc tangent of +returns the arc tangent of .Ar y/ Ns Ar x in the range .Bk -words diff --git a/lib/libm/common_source/cos.3 b/lib/libm/common_source/cos.3 index b0a7c46..6695270 100644 --- a/lib/libm/common_source/cos.3 +++ b/lib/libm/common_source/cos.3 @@ -50,7 +50,7 @@ The function computes the cosine of .Fa x (measured in radians). -A large magnitude argument may yield a result with little or no +A large magnitude argument may yield a result with little or no significance. For a discussion of error due to roundoff, see .Xr math 3 . diff --git a/lib/libm/common_source/cosh.3 b/lib/libm/common_source/cosh.3 index 091dcc1..47cb320 100644 --- a/lib/libm/common_source/cosh.3 +++ b/lib/libm/common_source/cosh.3 @@ -58,7 +58,7 @@ of is too large; in this event, the global variable .Va errno is set to -.Er ERANGE . +.Er ERANGE . .Sh SEE ALSO .Xr acos 3 , .Xr asin 3 , diff --git a/lib/libm/common_source/erf.3 b/lib/libm/common_source/erf.3 index 442a1b3..d0f4071 100644 --- a/lib/libm/common_source/erf.3 +++ b/lib/libm/common_source/erf.3 @@ -58,7 +58,7 @@ calculates the error function of x; where .if n \{\ erf(x) = 2/sqrt(pi)\(**\|integral from 0 to x of exp(\-t\(**t) dt. \} .if t \{\ -erf\|(x) := +erf\|(x) := (2/\(sr\(*p)\|\(is\d\s8\z0\s10\u\u\s8x\s10\d\|exp(\-t\u\s82\s10\d)\|dt. \} .Ed .Pp diff --git a/lib/libm/common_source/exp.3 b/lib/libm/common_source/exp.3 index 3c8a5aa..ae54b7f 100644 --- a/lib/libm/common_source/exp.3 +++ b/lib/libm/common_source/exp.3 @@ -96,7 +96,7 @@ of to the exponent .Ar y . .Sh ERROR (due to Roundoff etc.) -exp(x), log(x), expm1(x) and log1p(x) are accurate to within +exp(x), log(x), expm1(x) and log1p(x) are accurate to within an .Em up , and log10(x) to within about 2 @@ -231,10 +231,10 @@ infinite or \*(Na) before computing x**0 cannot care whether 0**0 = 1 or not. Any program that depends upon 0**0 to be invalid is dubious anyway since that -expression's meaning and, if invalid, its consequences +expression's meaning and, if invalid, its consequences vary from one computer system to another. .It -Some Algebra texts (e.g. Sigler's) define x**0 = 1 for +Some Algebra texts (e.g. Sigler's) define x**0 = 1 for all x, including x = 0. This is compatible with the convention that accepts a[0] as the value of polynomial @@ -252,7 +252,7 @@ The reason for setting 0**0 = 1 anyway is this: If x(z) and y(z) are .Em any functions analytic (expandable -in power series) in z around z = 0, and if there +in power series) in z around z = 0, and if there x(0) = y(0) = 0, then x(z)**y(z) \(-> 1 as z \(-> 0. .Ed .It diff --git a/lib/libm/common_source/ieee.3 b/lib/libm/common_source/ieee.3 index c918418..c0e0474 100644 --- a/lib/libm/common_source/ieee.3 +++ b/lib/libm/common_source/ieee.3 @@ -46,15 +46,15 @@ .Lb libm .Sh SYNOPSIS .Fd #include -.Ft double +.Ft double .Fn copysign "double x" "double y" -.Ft double +.Ft double .Fn drem "double x" "double y" -.Ft int +.Ft int .Fn finite "double x" -.Ft double +.Ft double .Fn logb "double x" -.Ft double +.Ft double .Fn scalb "double x" "int n" .Sh DESCRIPTION These functions are required for, or recommended by the @@ -167,11 +167,11 @@ and .Fn drem \\*(If y to be invalid operations that produce a \*(Na. On the -.Tn VAX , +.Tn VAX , .Fn drem x 0 generates a reserved operand fault. No \*(If exists on a -.Tn VAX . +.Tn VAX . .Pp .Tn IEEE 754 defines @@ -182,17 +182,17 @@ exists on a = \-\*(If, and requires the latter to signal Division\-by\-Zero. But on a -.Tn VAX , +.Tn VAX , .Fn logb 0 = 1.0 \- 2.0**31 = \-2,147,483,647.0. And if the correct value of .Fn scalb would overflow on a -.Tn VAX , +.Tn VAX , it generates a reserved operand fault and sets the global variable .Va errno to -.Er ERANGE . +.Er ERANGE . .Sh SEE ALSO .Xr floor 3 , .Xr infnan 3 , @@ -200,7 +200,7 @@ to .Sh HISTORY The .Nm ieee -functions appeared in +functions appeared in .Bx 4.3 . .Sh BUGS Should @@ -209,7 +209,7 @@ and .Fn logb 0 on a .Tn VAX -signal invalidity +signal invalidity by setting .Va errno No = Er EDOM ? Should @@ -221,12 +221,12 @@ return \-1.7e38? .Fn logb "denormalized no.\&" = .Fn logb "tiniest normalized no. > 0" -but the consensus has changed to the specification in the new +but the consensus has changed to the specification in the new proposed .Tn IEEE standard p854, namely that .Fn logb x -satisfy +satisfy .Bd -ragged -offset indent 1 \(<= .Fn scalb \\*(Bax\\*(Ba \-logb(x) @@ -237,7 +237,7 @@ for 754 .Ed .Pp -for every x except 0, +for every x except 0, \*(If and \*(Na. Almost every program that assumes 754's specification will work @@ -260,7 +260,7 @@ similar in spirit to the .Tn VAX Ns 's reserved operand, but very different in important details. Since the sign bit of a -reserved operand makes it look negative, +reserved operand makes it look negative, .Bd -ragged -offset indent .Fn copysign x "reserved operand" = diff --git a/lib/libm/common_source/infnan.3 b/lib/libm/common_source/infnan.3 index e4ca774..d3361ac 100644 --- a/lib/libm/common_source/infnan.3 +++ b/lib/libm/common_source/infnan.3 @@ -44,7 +44,7 @@ .Lb libm .Sh SYNOPSIS .Fd #include -.Ft double +.Ft double .Fn infnan "int iarg" .Sh DESCRIPTION At some time in the future, some of the useful properties of @@ -67,7 +67,7 @@ in appropriate places in .Xr libm 3 . When better exception\-handling is implemented in -.Tn UNIX , +.Tn UNIX , only .Fn infnan among the codes in @@ -115,7 +115,7 @@ when they invoke .Fn infnan iarg under analogous circumstances on a -.Tn VAX . +.Tn VAX . Currently .Fn infnan stops computation under all those @@ -126,7 +126,7 @@ and a value for a revised .Fn infnan to return. And a C program to -implement that suggestion follows. +implement that suggestion follows. .Bl -column "IEEE Signal" "IEEE Default" XXERANGE ERANGEXXorXXEDOM .It "IEEE Signal IEEE Default " Fa iarg Ta Va errno Ta Fn infnan .It "Invalid \*(Na " Er "EDOM EDOM 0" @@ -173,5 +173,5 @@ and .Sh HISTORY The .Fn infnan -function appeared in +function appeared in .Bx 4.3 . diff --git a/lib/libm/common_source/j0.3 b/lib/libm/common_source/j0.3 index 430619e..5bfb9a7 100644 --- a/lib/libm/common_source/j0.3 +++ b/lib/libm/common_source/j0.3 @@ -99,7 +99,7 @@ the function computes the .Em "Bessel function of the second kind for the integer order" .Fa n -for the positive +for the positive .Em integer value .Fa x diff --git a/lib/libm/common_source/lgamma.3 b/lib/libm/common_source/lgamma.3 index feb5a86..24f769e 100644 --- a/lib/libm/common_source/lgamma.3 +++ b/lib/libm/common_source/lgamma.3 @@ -113,7 +113,7 @@ will underflow. .Sh HISTORY The .Fn lgamma -function appeared in +function appeared in .Bx 4.3 . The .Fn gamma diff --git a/lib/libm/common_source/math.3 b/lib/libm/common_source/math.3 index 2e26575..4bc1ff3 100644 --- a/lib/libm/common_source/math.3 +++ b/lib/libm/common_source/math.3 @@ -379,7 +379,7 @@ correctly through multiplication and division, and .If (finite)/\(+- \0=\0\(+-0 (nonzero)/0 = .If \(+- . -But +But .if n \ Infinity\-Infinity, Infinity\(**0 and Infinity/Infinity .if t \ diff --git a/lib/libm/common_source/sinh.3 b/lib/libm/common_source/sinh.3 index 3009473..a5cfbee 100644 --- a/lib/libm/common_source/sinh.3 +++ b/lib/libm/common_source/sinh.3 @@ -53,7 +53,7 @@ function computes the hyperbolic sine of The .Fn sinh function returns the hyperbolic sine value unless -the magnitude +the magnitude of .Fa x is too large; in this event, the global variable -- cgit v1.1