summaryrefslogtreecommitdiff
path: root/lib/libm/man
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2008-07-30 08:02:36 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2008-07-30 08:02:36 +0000
commitf915feab9d150fd96f9bef9bf978dcd9a1b4a51f (patch)
tree16efb18a2b35f5e97883c15aadbf961d4aa6e0ae /lib/libm/man
parent83b0b86d61198544b1aca5b2d6c3b61514325eb0 (diff)
various markup/grammar fixes for previous, and a missing MLINK
for remquof.3;
Diffstat (limited to 'lib/libm/man')
-rw-r--r--lib/libm/man/exp.38
-rw-r--r--lib/libm/man/nan.316
-rw-r--r--lib/libm/man/remainder.310
3 files changed, 15 insertions, 19 deletions
diff --git a/lib/libm/man/exp.3 b/lib/libm/man/exp.3
index 24490abd700..ac411e2f24c 100644
--- a/lib/libm/man/exp.3
+++ b/lib/libm/man/exp.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: exp.3,v 1.18 2008/07/29 21:57:13 martynas Exp $
+.\" $OpenBSD: exp.3,v 1.19 2008/07/30 08:02:35 jmc Exp $
.\"
.\" Copyright (c) 1985, 1991 Regents of the University of California.
.\" All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" from: @(#)exp.3 6.12 (Berkeley) 7/31/91
.\"
-.Dd $Mdocdate: July 29 2008 $
+.Dd $Mdocdate: July 30 2008 $
.Dt EXP 3
.Os
.Sh NAME
@@ -93,9 +93,9 @@ function is a single precision version of
The
.Fn exp2
function computes the base 2 exponential of the given argument
-.Fa x .
+.Fa x .
The
-.Fn exp2f
+.Fn exp2f
function is a single precision version of
.Fn exp2 .
.Pp
diff --git a/lib/libm/man/nan.3 b/lib/libm/man/nan.3
index cddd0cbade2..0273361e902 100644
--- a/lib/libm/man/nan.3
+++ b/lib/libm/man/nan.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: nan.3,v 1.1 2008/07/29 22:08:43 martynas Exp $
+.\" $OpenBSD: nan.3,v 1.2 2008/07/30 08:02:35 jmc Exp $
.\"
.\" Copyright (c) 2007 David Schultz <das@FreeBSD.org>
.\" All rights reserved.
@@ -26,15 +26,13 @@
.\"
.\" $FreeBSD: src/lib/msun/man/nan.3,v 1.1 2007/12/16 21:19:28 das Exp $
.\"
-.Dd $Mdocdate: July 29 2008 $
+.Dd $Mdocdate: July 30 2008 $
.Dt NAN 3
.Os
.Sh NAME
.Nm nan ,
.Nm nanf
.Nd quiet \*(Nas
-.Sh LIBRARY
-.Lb libm
.Sh SYNOPSIS
.In math.h
.Ft double
@@ -45,17 +43,17 @@
The
.Dv NAN
macro expands to a quiet \*(Na (Not A Number).
-Similarly, each of the
-.Fn nan ,
+Similarly both the
+.Fn nan
and
.Fn nanf
functions generate a quiet \*(Na value without raising an invalid exception.
The argument
.Fa s
should point to either an empty string or a hexadecimal representation
-of a non-negative integer (e.g., "0x1234".)
+of a non-negative integer (e.g. 0x1234).
In the latter case, the integer is encoded in some free bits in the
-representation of the \*(Na, which sometimes store
+representation of the \*(Na, which sometimes stores
machine-specific information about why a particular \*(Na was generated.
There are 22 such bits available for
.Vt float
@@ -86,7 +84,7 @@ macro instead.
.Xr strtod 3
.Sh STANDARDS
The
-.Fn nan ,
+.Fn nan
and
.Fn nanf
functions and the
diff --git a/lib/libm/man/remainder.3 b/lib/libm/man/remainder.3
index 703cfe2c99c..c6e33c367e9 100644
--- a/lib/libm/man/remainder.3
+++ b/lib/libm/man/remainder.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: remainder.3,v 1.1 2008/07/29 22:08:43 martynas Exp $
+.\" $OpenBSD: remainder.3,v 1.2 2008/07/30 08:02:35 jmc Exp $
.\"
.\" Copyright (c) 1985, 1991 Regents of the University of California.
.\" All rights reserved.
@@ -30,7 +30,7 @@
.\" from: @(#)ieee.3 6.4 (Berkeley) 5/6/91
.\" $FreeBSD: src/lib/msun/man/remainder.3,v 1.6 2008/03/30 20:48:02 das Exp $
.\"
-.Dd $Mdocdate: July 29 2008 $
+.Dd $Mdocdate: July 30 2008 $
.Dt REMAINDER 3
.Os
.Sh NAME
@@ -39,8 +39,6 @@
.Nm remquo ,
.Nm remquof
.Nd minimal residue functions
-.Sh LIBRARY
-.Lb libm
.Sh SYNOPSIS
.In math.h
.Ft double
@@ -96,7 +94,7 @@ is 0 or
is \*(Pm\*(If is an invalid operation that produces a \*(Na.
.Pp
The
-.Fn remquo ,
+.Fn remquo
and
.Fn remquof
functions also store the last
@@ -134,7 +132,7 @@ are deprecated aliases for
.Fn remainder
and
.Fn remainderf ,
-respectively.
+respectively.
.Sh HISTORY
The
.Fn remainder