diff options
| author | Dima Dorfman <dd@FreeBSD.org> | 2001-07-22 12:07:25 +0000 |
|---|---|---|
| committer | Dima Dorfman <dd@FreeBSD.org> | 2001-07-22 12:07:25 +0000 |
| commit | b5cf87e26a33fe12c8e2238149b5896b328f7fe2 (patch) | |
| tree | 3849d872b4b73608feb17809d7fb4d95c0fef6e0 /lib/msun | |
| parent | 4622ab764ab8a3550702e2699d502d3ddd177c1e (diff) | |
Notes
Diffstat (limited to 'lib/msun')
| -rw-r--r-- | lib/msun/man/acos.3 | 2 | ||||
| -rw-r--r-- | lib/msun/man/acosh.3 | 6 | ||||
| -rw-r--r-- | lib/msun/man/asin.3 | 6 | ||||
| -rw-r--r-- | lib/msun/man/asinh.3 | 6 | ||||
| -rw-r--r-- | lib/msun/man/atan.3 | 2 | ||||
| -rw-r--r-- | lib/msun/man/atan2.3 | 2 | ||||
| -rw-r--r-- | lib/msun/man/atanh.3 | 4 | ||||
| -rw-r--r-- | lib/msun/man/cos.3 | 4 | ||||
| -rw-r--r-- | lib/msun/man/cosh.3 | 4 | ||||
| -rw-r--r-- | lib/msun/man/erf.3 | 6 | ||||
| -rw-r--r-- | lib/msun/man/exp.3 | 16 | ||||
| -rw-r--r-- | lib/msun/man/floor.3 | 2 | ||||
| -rw-r--r-- | lib/msun/man/ieee.3 | 28 | ||||
| -rw-r--r-- | lib/msun/man/ieee_test.3 | 24 | ||||
| -rw-r--r-- | lib/msun/man/j0.3 | 2 | ||||
| -rw-r--r-- | lib/msun/man/lgamma.3 | 2 | ||||
| -rw-r--r-- | lib/msun/man/math.3 | 6 | ||||
| -rw-r--r-- | lib/msun/man/rint.3 | 2 | ||||
| -rw-r--r-- | lib/msun/man/sinh.3 | 2 | ||||
| -rw-r--r-- | lib/msun/man/tanh.3 | 2 |
20 files changed, 64 insertions, 64 deletions
diff --git a/lib/msun/man/acos.3 b/lib/msun/man/acos.3 index 2776bbe5e4e4..582e1c08dd5d 100644 --- a/lib/msun/man/acos.3 +++ b/lib/msun/man/acos.3 @@ -56,7 +56,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 and the .Fn acosf diff --git a/lib/msun/man/acosh.3 b/lib/msun/man/acosh.3 index b7d9f7b047c3..0a4982ef6ed4 100644 --- a/lib/msun/man/acosh.3 +++ b/lib/msun/man/acosh.3 @@ -48,7 +48,7 @@ .Sh DESCRIPTION The .Fn acosh -and the +and the .Fn acoshf functions compute the inverse hyperbolic cosine of the real @@ -59,7 +59,7 @@ For a discussion of error due to roundoff, see .Sh RETURN VALUES The .Fn acosh -and the +and the .Fn acoshf functions return the inverse hyperbolic cosine of @@ -84,5 +84,5 @@ causes a reserved operand fault. .Sh HISTORY The .Fn acosh -function appeared in +function appeared in .Bx 4.3 . diff --git a/lib/msun/man/asin.3 b/lib/msun/man/asin.3 index 8b26bd273f83..6515fbdfc47a 100644 --- a/lib/msun/man/asin.3 +++ b/lib/msun/man/asin.3 @@ -48,7 +48,7 @@ .Sh DESCRIPTION The .Fn asin -and the +and the .Fn asinf functions compute the principal value of the arc sine of .Fa x . @@ -58,7 +58,7 @@ For a discussion of error due to roundoff, see .Sh RETURN VALUES The .Fn asin -and the +and the .Fn asinf functions return the arc sine in the range .Bk -words @@ -86,7 +86,7 @@ a reserved operand fault generated. .Xr atan2 3 , .Xr cos 3 , .Xr cosh 3 , -.Xr math 3 , +.Xr math 3 , .Xr sin 3 , .Xr sinh 3 , .Xr tan 3 , diff --git a/lib/msun/man/asinh.3 b/lib/msun/man/asinh.3 index eb3f2f3616f4..73de4f71c5f9 100644 --- a/lib/msun/man/asinh.3 +++ b/lib/msun/man/asinh.3 @@ -48,7 +48,7 @@ .Sh DESCRIPTION The .Fn asinh -and the +and the .Fn asinhf functions compute the inverse hyperbolic sine of the real @@ -59,7 +59,7 @@ For a discussion of error due to roundoff, see .Sh RETURN VALUES The .Fn asinh -and the +and the .Fn asinhf functions return the inverse hyperbolic sine of @@ -72,5 +72,5 @@ return the inverse hyperbolic sine of .Sh HISTORY The .Fn asinh -function appeared in +function appeared in .Bx 4.3 . diff --git a/lib/msun/man/atan.3 b/lib/msun/man/atan.3 index c5e360d0b2b8..4c6fd6446586 100644 --- a/lib/msun/man/atan.3 +++ b/lib/msun/man/atan.3 @@ -57,7 +57,7 @@ For a discussion of error due to roundoff, see .Sh RETURN VALUES The .Fn atan -and the +and the .Fn atanf function returns the arc tangent in the range .Bk -words diff --git a/lib/msun/man/atan2.3 b/lib/msun/man/atan2.3 index 457ab08d442e..0c124e75597a 100644 --- a/lib/msun/man/atan2.3 +++ b/lib/msun/man/atan2.3 @@ -60,7 +60,7 @@ The and the .Fn atan2f functions, if successful, -return the arc tangent of +return the arc tangent of .Fa y/ Ns Ar x in the range .Bk -words diff --git a/lib/msun/man/atanh.3 b/lib/msun/man/atanh.3 index 6e770b41944e..528b6b5ca929 100644 --- a/lib/msun/man/atanh.3 +++ b/lib/msun/man/atanh.3 @@ -48,7 +48,7 @@ .Sh DESCRIPTION The .Fn atanh -and the +and the .Fn atanhf functions compute the inverse hyperbolic tangent of the real @@ -59,7 +59,7 @@ For a discussion of error due to roundoff, see .Sh RETURN VALUES The .Fn atanh -and the +and the .Fn atanhf functions return the inverse hyperbolic tangent of diff --git a/lib/msun/man/cos.3 b/lib/msun/man/cos.3 index 32a3762a15ed..bd1b31364467 100644 --- a/lib/msun/man/cos.3 +++ b/lib/msun/man/cos.3 @@ -53,14 +53,14 @@ and the functions compute 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 . .Sh RETURN VALUES The .Fn cos -and the +and the .Fn cosf functions return the cosine value. .Sh SEE ALSO diff --git a/lib/msun/man/cosh.3 b/lib/msun/man/cosh.3 index 4c9d9b393bc5..764677271198 100644 --- a/lib/msun/man/cosh.3 +++ b/lib/msun/man/cosh.3 @@ -48,7 +48,7 @@ .Sh DESCRIPTION The .Fn cosh -and the +and the .Fn coshf functions compute the hyperbolic cosine of .Fa x . @@ -63,7 +63,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/msun/man/erf.3 b/lib/msun/man/erf.3 index 89c7cb4bda78..2046a6ddc5e6 100644 --- a/lib/msun/man/erf.3 +++ b/lib/msun/man/erf.3 @@ -57,20 +57,20 @@ These functions calculate the error function of .Pp The .Fn erf -and the +and the .Fn erff functions calculate the error function of x; where .Bd -ragged -offset indent .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 The .Fn erfc -and the +and the .Fn erfcf functions calculate the complementary error function of .Fa x ; diff --git a/lib/msun/man/exp.3 b/lib/msun/man/exp.3 index d453b10600a0..86d1fd81880e 100644 --- a/lib/msun/man/exp.3 +++ b/lib/msun/man/exp.3 @@ -89,7 +89,7 @@ functions compute the exponential value of the given argument .Pp The .Fn expm1 -and the +and the .Fn expm1f functions compute the value exp(x)\-1 accurately even for tiny argument .Fa x . @@ -98,7 +98,7 @@ The .Fn log and the .Fn logf -functions compute the value of the natural logarithm of argument +functions compute the value of the natural logarithm of argument .Fa x . .Pp The @@ -131,12 +131,12 @@ to the exponent .Fn log x , .Fn expm1 x and -.Fn log1p x -are accurate to within +.Fn log1p x +are accurate to within an .Em ulp , and -.Fn log10 x +.Fn log10 x to within about 2 .Em ulps ; an @@ -268,10 +268,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 @@ -289,7 +289,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/msun/man/floor.3 b/lib/msun/man/floor.3 index 29d2283b1ddb..39323833666d 100644 --- a/lib/msun/man/floor.3 +++ b/lib/msun/man/floor.3 @@ -50,7 +50,7 @@ The .Fn floor and the .Fn floorf -function returns the largest integral value +function returns the largest integral value (represented as a double precision number) less than or equal to .Fa x . diff --git a/lib/msun/man/ieee.3 b/lib/msun/man/ieee.3 index 2aed69fdb799..fb4001ca4364 100644 --- a/lib/msun/man/ieee.3 +++ b/lib/msun/man/ieee.3 @@ -51,19 +51,19 @@ .Nd Functions for IEEE arithmetic .Sh SYNOPSIS .Fd #include <math.h> -.Ft double +.Ft double .Fn copysign "double x" "double y" -.Ft float +.Ft float .Fn copysignf "float x" "float y" -.Ft int +.Ft int .Fn finite "double x" -.Ft int +.Ft int .Fn finitef "float x" .Ft int .Fn ilogb "double x" .Ft int .Fn ilogbf "float x" -.Ft double +.Ft double .Fn nextafter "double x" "double y" .Ft float .Fn nextafterf "float x" "float y" @@ -71,12 +71,12 @@ .Fn remainder "double x" "double y" .Ft float .Fn remainderf "float x" "float y" -.Ft double +.Ft double .Fn scalbn "double x" "int n" -.Ft float +.Ft float .Fn scalbnf "float x" "int n" .Sh DESCRIPTION -These functions are required or recommended by +These functions are required or recommended by .St -ieee754 . .Pp .Fn copysign @@ -109,18 +109,18 @@ return .Fa x Ns 's exponent .Fa n , in integer format. -.Fn ilogb \*(Pm\*(If -returns +.Fn ilogb \*(Pm\*(If +returns .Dv INT_MAX and .Fn ilogb 0 -returns +returns .Dv INT_MIN . .Pp -.Fn nextafter +.Fn nextafter and .Fn nextafterf -return the next machine representable number from +return the next machine representable number from .Fa x in direction .Fa y . @@ -176,7 +176,7 @@ computed by exponent manipulation. .Sh HISTORY The .Nm ieee -functions appeared in +functions appeared in .Bx 4.3 . .Sh STANDARDS .St -ieee754 diff --git a/lib/msun/man/ieee_test.3 b/lib/msun/man/ieee_test.3 index 44578daebba9..be27dfc52972 100644 --- a/lib/msun/man/ieee_test.3 +++ b/lib/msun/man/ieee_test.3 @@ -45,20 +45,20 @@ .Nd IEEE test functions .Sh SYNOPSIS .Fd #include <math.h> -.Ft double +.Ft double .Fn logb "double x" -.Ft float +.Ft float .Fn logbf "float x" -.Ft double +.Ft double .Fn scalb "double x" "double n" -.Ft float +.Ft float .Fn scalbf "float x" "float n" .Ft double .Fn significand "double x" .Ft float .Fn significandf "float x" .Sh DESCRIPTION -These functions allow users to test conformance to +These functions allow users to test conformance to .St -ieee754 . Their use is not otherwise recommended. .Pp @@ -81,22 +81,22 @@ return .Fa x Ns \(**(2** Ns Fa n ) computed by exponent manipulation. .Pp -.Fn significand x +.Fn significand x and -.Fn significandf x +.Fn significandf x return .Fa sig , -where -.Fa x -:= +where +.Fa x +:= .Fa sig No \(** 2** Ns Fa n -with 1 \(<= +with 1 \(<= .Fa sig < 2. .Fn significand x and .Fn significandf x -are not defined when +are not defined when .Fa x is 0, \*(Pm\*(If, or \*(Na. .Sh SEE ALSO diff --git a/lib/msun/man/j0.3 b/lib/msun/man/j0.3 index 2aa024749e13..8a21644e1b9b 100644 --- a/lib/msun/man/j0.3 +++ b/lib/msun/man/j0.3 @@ -125,7 +125,7 @@ compute the .Em Bessel function of the second kind for the integer .Em order .Fa n -for the positive +for the positive .Em real value .Fa x . diff --git a/lib/msun/man/lgamma.3 b/lib/msun/man/lgamma.3 index 980099945cb8..a34fe0fc4482 100644 --- a/lib/msun/man/lgamma.3 +++ b/lib/msun/man/lgamma.3 @@ -126,7 +126,7 @@ will underflow. .Sh HISTORY The .Fn lgamma -function appeared in +function appeared in .Bx 4.3 . The .Fn gamma diff --git a/lib/msun/man/math.3 b/lib/msun/man/math.3 index d0633e5868e2..73e8d7b6693c 100644 --- a/lib/msun/man/math.3 +++ b/lib/msun/man/math.3 @@ -54,7 +54,7 @@ Declarations for these functions may be obtained from the include file .SH "LIST OF FUNCTIONS" Each of the following double functions has a float counterpart with the name ending in f, as an example the float counterpart of double acos(double -x) is float acosf(float x). +x) is float acosf(float x). .sp 2 .nf .ta \w'copysign'u+2n +\w'infnan.3m'u+10n +\w'inverse trigonometric func'u @@ -381,7 +381,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 \ @@ -450,7 +450,7 @@ listed below in declining order of probable importance. .ta \w'Invalid Operation'u+6n +\w'Gradual Underflow'u+2n Exception Default Result .tc \(ru - + .tc Invalid Operation \*(nn, or FALSE .if n \{\ diff --git a/lib/msun/man/rint.3 b/lib/msun/man/rint.3 index c8e320d9d979..d4b7aeb3810e 100644 --- a/lib/msun/man/rint.3 +++ b/lib/msun/man/rint.3 @@ -50,7 +50,7 @@ The .Fn rint and the .Fn rintf -functions return the integral value (represented as a double or float +functions return the integral value (represented as a double or float precision number) nearest to .Fa x according to the prevailing rounding mode. diff --git a/lib/msun/man/sinh.3 b/lib/msun/man/sinh.3 index c7921c9a012c..78995a0dfb95 100644 --- a/lib/msun/man/sinh.3 +++ b/lib/msun/man/sinh.3 @@ -57,7 +57,7 @@ The and the .Fn sinhf functions return the hyperbolic sine value unless -the magnitude +the magnitude of .Fa x is too large; in this event, the global variable diff --git a/lib/msun/man/tanh.3 b/lib/msun/man/tanh.3 index 4659366392be..e17ed3887b79 100644 --- a/lib/msun/man/tanh.3 +++ b/lib/msun/man/tanh.3 @@ -57,7 +57,7 @@ For a discussion of error due to roundoff, see .Sh RETURN VALUES The .Fn tanh -and the +and the .Fn tanhf functions return the hyperbolic tangent value. .Sh SEE ALSO |
