diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2003-02-27 00:27:48 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2003-02-27 00:27:48 +0000 |
commit | 2d4f1b12afa0cad407284e6a11a0e8992a428048 (patch) | |
tree | 1d4e7dcda6b60527864838a812520b464f21e285 /lib/libm/man | |
parent | 22fcf88b11607c518fe2aa1db0eb38030be1c7cf (diff) |
A lotsa fixin' (ditched the old sin.3 in favor of cos.3 with modifications), etc.
Diffstat (limited to 'lib/libm/man')
-rw-r--r-- | lib/libm/man/cos.3 | 10 | ||||
-rw-r--r-- | lib/libm/man/sin.3 | 23 |
2 files changed, 20 insertions, 13 deletions
diff --git a/lib/libm/man/cos.3 b/lib/libm/man/cos.3 index a5a5b8f89f6..35f243e2161 100644 --- a/lib/libm/man/cos.3 +++ b/lib/libm/man/cos.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: cos.3,v 1.6 2000/03/02 00:29:49 todd Exp $ +.\" $OpenBSD: cos.3,v 1.7 2003/02/27 00:27:47 jason Exp $ .\" Copyright (c) 1991 The Regents of the University of California. .\" All rights reserved. .\" @@ -48,11 +48,13 @@ .Sh DESCRIPTION The .Fn cos -and -.Fn cosf -functions compute the cosine of +function compute the cosine of .Fa x (measured in radians). +The +.Fn cosf +function is a single precision version of +.Fn cos . A large magnitude argument may yield a result with little or no significance. For a discussion of error due to roundoff, see diff --git a/lib/libm/man/sin.3 b/lib/libm/man/sin.3 index 9fba6f16fdc..de7f87c12aa 100644 --- a/lib/libm/man/sin.3 +++ b/lib/libm/man/sin.3 @@ -1,8 +1,7 @@ -.\" $OpenBSD: sin.3,v 1.5 2000/03/02 00:29:50 todd Exp $ +.\" $OpenBSD: sin.3,v 1.6 2003/02/27 00:27:47 jason Exp $ .\" Copyright (c) 1991 The Regents of the University of California. .\" All rights reserved. .\" -.\" @(#)sin.3 6.7 (Berkeley) 4/19/91 .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: @@ -31,10 +30,10 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" from: @(#)sin.3 6.7 (Berkeley) 4/19/91 +.\" from: @(#)cos.3 5.1 (Berkeley) 5/2/91 .\" -.Dd April 19, 1991 -.Dt SIN 3 +.Dd May 2, 1991 +.Dt COS 3 .Os .Sh NAME .Nm sin , @@ -49,11 +48,17 @@ .Sh DESCRIPTION The .Fn sin -function computes the sine of +function compute the sine of .Fa x (measured in radians). -A large magnitude argument may yield a result with little -or no significance. +The +.Fn sinf +function is a single precision version of +.Fn sin . +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 sin @@ -63,9 +68,9 @@ function returns the sine value. .Xr asin 3 , .Xr atan 3 , .Xr atan2 3 , -.Xr cos 3 , .Xr cosh 3 , .Xr math 3 , +.Xr sin 3 , .Xr sinh 3 , .Xr tan 3 , .Xr tanh 3 |