summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libm/Makefile3
-rw-r--r--lib/libm/man/exp.38
-rw-r--r--lib/libm/man/nan.316
-rw-r--r--lib/libm/man/remainder.310
4 files changed, 17 insertions, 20 deletions
diff --git a/lib/libm/Makefile b/lib/libm/Makefile
index 7554d024556..8e259df2088 100644
--- a/lib/libm/Makefile
+++ b/lib/libm/Makefile
@@ -1,5 +1,5 @@
# $NetBSD: Makefile,v 1.28 1995/11/20 22:06:19 jtc Exp $
-# $OpenBSD: Makefile,v 1.52 2008/07/29 22:08:43 martynas Exp $
+# $OpenBSD: Makefile,v 1.53 2008/07/30 08:02:34 jmc Exp $
#
# @(#)Makefile 5.1beta 93/09/24
#
@@ -233,6 +233,7 @@ MLINKS+=math.3 mathf.3
MLINKS+=nan.3 nanf.3
MLINKS+=remainder.3 dremf.3
MLINKS+=remainder.3 remainderf.3
+MLINKS+=remainder.3 remquof.3
MLINKS+=rint.3 rintf.3
MLINKS+=round.3 roundf.3
MLINKS+=sin.3 sinf.3
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