summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2011-07-07 13:30:29 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2011-07-07 13:30:29 +0000
commit0e824d08bd4366d8cf1a4c6d6c4c6da3c3b0ec14 (patch)
treede3239482e4e58645e6807f9fa81ed65235c256d
parent8044b989e6d274cee2a24c222564b7c4b8508ab2 (diff)
no more math(3);
-rw-r--r--lib/libc/gen/fpclassify.37
-rw-r--r--lib/libc/gen/frexp.35
-rw-r--r--lib/libc/gen/isgreater.37
-rw-r--r--lib/libc/gen/ldexp.35
-rw-r--r--lib/libc/gen/modf.37
-rw-r--r--lib/libc/stdlib/abs.37
-rw-r--r--lib/libc/stdlib/div.35
-rw-r--r--lib/libc/stdlib/imaxabs.37
-rw-r--r--lib/libc/stdlib/imaxdiv.35
-rw-r--r--lib/libc/stdlib/labs.37
-rw-r--r--lib/libc/stdlib/ldiv.35
-rw-r--r--lib/libc/stdlib/lldiv.35
-rw-r--r--lib/libc/stdlib/qabs.37
-rw-r--r--lib/libc/stdlib/qdiv.37
14 files changed, 36 insertions, 50 deletions
diff --git a/lib/libc/gen/fpclassify.3 b/lib/libc/gen/fpclassify.3
index bf5d0e9773b..7859184f6eb 100644
--- a/lib/libc/gen/fpclassify.3
+++ b/lib/libc/gen/fpclassify.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fpclassify.3,v 1.2 2008/07/29 20:11:45 jmc Exp $
+.\" $OpenBSD: fpclassify.3,v 1.3 2011/07/07 13:30:28 jmc Exp $
.\"
.\" Copyright (c) 2003 Mike Barcroft <mike@FreeBSD.org>
.\" All rights reserved.
@@ -26,7 +26,7 @@
.\"
.\" $FreeBSD: src/lib/libc/gen/fpclassify.3,v 1.6 2005/01/27 05:46:16 das Exp $
.\"
-.Dd $Mdocdate: July 29 2008 $
+.Dd $Mdocdate: July 7 2011 $
.Dt FPCLASSIFY 3
.Os
.Sh NAME
@@ -102,8 +102,7 @@ macro takes an argument of
.Fa x
and returns non-zero if the value of its sign is negative, otherwise 0.
.Sh SEE ALSO
-.Xr isgreater 3 ,
-.Xr math 3
+.Xr isgreater 3
.Sh STANDARDS
The
.Fn fpclassify ,
diff --git a/lib/libc/gen/frexp.3 b/lib/libc/gen/frexp.3
index 984b164d259..94f22cd374e 100644
--- a/lib/libc/gen/frexp.3
+++ b/lib/libc/gen/frexp.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: frexp.3,v 1.9 2008/12/12 00:12:47 martynas Exp $
+.\" $OpenBSD: frexp.3,v 1.10 2011/07/07 13:30:28 jmc Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: December 12 2008 $
+.Dd $Mdocdate: July 7 2011 $
.Dt FREXP 3
.Os
.Sh NAME
@@ -87,7 +87,6 @@ If
is zero, both parts of the result are zero.
.Sh SEE ALSO
.Xr ldexp 3 ,
-.Xr math 3 ,
.Xr modf 3
.Sh STANDARDS
The
diff --git a/lib/libc/gen/isgreater.3 b/lib/libc/gen/isgreater.3
index 0dcef6e6665..5307cc426e8 100644
--- a/lib/libc/gen/isgreater.3
+++ b/lib/libc/gen/isgreater.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: isgreater.3,v 1.2 2008/07/29 20:11:45 jmc Exp $
+.\" $OpenBSD: isgreater.3,v 1.3 2011/07/07 13:30:28 jmc Exp $
.\"
.\" Copyright (c) 2003 David Schultz <das@FreeBSD.ORG>
.\" All rights reserved.
@@ -26,7 +26,7 @@
.\"
.\" $FreeBSD: src/lib/libc/gen/isgreater.3,v 1.3 2005/02/06 03:23:31 das Exp $
.\"
-.Dd $Mdocdate: July 29 2008 $
+.Dd $Mdocdate: July 7 2011 $
.Dt ISGREATER 3
.Os
.Sh NAME
@@ -87,8 +87,7 @@ are NaNs.
For any pair of floating-point values, one
of the relationships (less, greater, equal, unordered) holds.
.Sh SEE ALSO
-.Xr fpclassify 3 ,
-.Xr math 3
+.Xr fpclassify 3
.Sh STANDARDS
The
.Fn isgreater ,
diff --git a/lib/libc/gen/ldexp.3 b/lib/libc/gen/ldexp.3
index f28c5ad665d..8c7352384df 100644
--- a/lib/libc/gen/ldexp.3
+++ b/lib/libc/gen/ldexp.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ldexp.3,v 1.6 2008/12/12 00:12:47 martynas Exp $
+.\" $OpenBSD: ldexp.3,v 1.7 2011/07/07 13:30:28 jmc Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: December 12 2008 $
+.Dd $Mdocdate: July 7 2011 $
.Dt LDEXP 3
.Os
.Sh NAME
@@ -81,7 +81,6 @@ and the value
is returned.
.Sh SEE ALSO
.Xr frexp 3 ,
-.Xr math 3 ,
.Xr modf 3
.Sh STANDARDS
The
diff --git a/lib/libc/gen/modf.3 b/lib/libc/gen/modf.3
index 12cba1fab0e..f226a9824f1 100644
--- a/lib/libc/gen/modf.3
+++ b/lib/libc/gen/modf.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: modf.3,v 1.7 2008/12/12 00:12:47 martynas Exp $
+.\" $OpenBSD: modf.3,v 1.8 2011/07/07 13:30:28 jmc Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: December 12 2008 $
+.Dd $Mdocdate: July 7 2011 $
.Dt MODF 3
.Os
.Sh NAME
@@ -68,8 +68,7 @@ functions return the signed fractional part of
.Fa value .
.Sh SEE ALSO
.Xr frexp 3 ,
-.Xr ldexp 3 ,
-.Xr math 3
+.Xr ldexp 3
.Sh STANDARDS
The
.Fn modf
diff --git a/lib/libc/stdlib/abs.3 b/lib/libc/stdlib/abs.3
index c4135f9c849..473aea1cd63 100644
--- a/lib/libc/stdlib/abs.3
+++ b/lib/libc/stdlib/abs.3
@@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: abs.3,v 1.8 2007/05/31 19:19:31 jmc Exp $
+.\" $OpenBSD: abs.3,v 1.9 2011/07/07 13:30:28 jmc Exp $
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: July 7 2011 $
.Dt ABS 3
.Os
.Sh NAME
@@ -55,8 +55,7 @@ function returns the absolute value.
.Xr floor 3 ,
.Xr hypot 3 ,
.Xr imaxabs 3 ,
-.Xr labs 3 ,
-.Xr math 3
+.Xr labs 3
.Sh STANDARDS
The
.Fn abs
diff --git a/lib/libc/stdlib/div.3 b/lib/libc/stdlib/div.3
index 4a48ab1ea48..2403fcb0e85 100644
--- a/lib/libc/stdlib/div.3
+++ b/lib/libc/stdlib/div.3
@@ -27,9 +27,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: div.3,v 1.9 2007/05/31 19:19:31 jmc Exp $
+.\" $OpenBSD: div.3,v 1.10 2011/07/07 13:30:28 jmc Exp $
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: July 7 2011 $
.Dt DIV 3
.Os
.Sh NAME
@@ -56,7 +56,6 @@ and
.Xr imaxdiv 3 ,
.Xr ldiv 3 ,
.Xr lldiv 3 ,
-.Xr math 3 ,
.Xr qdiv 3
.Sh STANDARDS
The
diff --git a/lib/libc/stdlib/imaxabs.3 b/lib/libc/stdlib/imaxabs.3
index dcfcf039c30..74b724fcbfd 100644
--- a/lib/libc/stdlib/imaxabs.3
+++ b/lib/libc/stdlib/imaxabs.3
@@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: imaxabs.3,v 1.4 2009/06/21 00:33:10 martynas Exp $
+.\" $OpenBSD: imaxabs.3,v 1.5 2011/07/07 13:30:28 jmc Exp $
.\"
-.Dd $Mdocdate: June 21 2009 $
+.Dd $Mdocdate: July 7 2011 $
.Dt IMAXABS 3
.Os
.Sh NAME
@@ -55,8 +55,7 @@ function returns the absolute value.
.Xr cabs 3 ,
.Xr floor 3 ,
.Xr hypot 3 ,
-.Xr labs 3 ,
-.Xr math 3
+.Xr labs 3
.Sh STANDARDS
The
.Fn imaxabs
diff --git a/lib/libc/stdlib/imaxdiv.3 b/lib/libc/stdlib/imaxdiv.3
index c4dee627aac..2448f3f0546 100644
--- a/lib/libc/stdlib/imaxdiv.3
+++ b/lib/libc/stdlib/imaxdiv.3
@@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: imaxdiv.3,v 1.3 2007/05/31 19:19:31 jmc Exp $
+.\" $OpenBSD: imaxdiv.3,v 1.4 2011/07/07 13:30:28 jmc Exp $
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: July 7 2011 $
.Dt IMAXDIV 3
.Os
.Sh NAME
@@ -58,7 +58,6 @@ and
.Xr div 3 ,
.Xr ldiv 3 ,
.Xr lldiv 3 ,
-.Xr math 3 ,
.Xr qdiv 3
.Sh STANDARDS
The
diff --git a/lib/libc/stdlib/labs.3 b/lib/libc/stdlib/labs.3
index 21c134fe5d9..9658c3ad51d 100644
--- a/lib/libc/stdlib/labs.3
+++ b/lib/libc/stdlib/labs.3
@@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: labs.3,v 1.9 2007/05/31 19:19:31 jmc Exp $
+.\" $OpenBSD: labs.3,v 1.10 2011/07/07 13:30:28 jmc Exp $
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: July 7 2011 $
.Dt LABS 3
.Os
.Sh NAME
@@ -56,8 +56,7 @@ function returns the absolute value of the long long integer
.Xr abs 3 ,
.Xr cabs 3 ,
.Xr floor 3 ,
-.Xr imaxabs 3 ,
-.Xr math 3
+.Xr imaxabs 3
.Sh STANDARDS
The
.Fn labs
diff --git a/lib/libc/stdlib/ldiv.3 b/lib/libc/stdlib/ldiv.3
index 96277768993..d300187887b 100644
--- a/lib/libc/stdlib/ldiv.3
+++ b/lib/libc/stdlib/ldiv.3
@@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: ldiv.3,v 1.9 2007/05/31 19:19:31 jmc Exp $
+.\" $OpenBSD: ldiv.3,v 1.10 2011/07/07 13:30:28 jmc Exp $
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: July 7 2011 $
.Dt LDIV 3
.Os
.Sh NAME
@@ -58,7 +58,6 @@ and
.Xr div 3 ,
.Xr imaxdiv 3 ,
.Xr lldiv 3 ,
-.Xr math 3 ,
.Xr qdiv 3
.Sh STANDARDS
The
diff --git a/lib/libc/stdlib/lldiv.3 b/lib/libc/stdlib/lldiv.3
index a5be188ba2a..4c97d7c9b76 100644
--- a/lib/libc/stdlib/lldiv.3
+++ b/lib/libc/stdlib/lldiv.3
@@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: lldiv.3,v 1.2 2007/05/31 19:19:31 jmc Exp $
+.\" $OpenBSD: lldiv.3,v 1.3 2011/07/07 13:30:28 jmc Exp $
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: July 7 2011 $
.Dt LLDIV 3
.Os
.Sh NAME
@@ -58,7 +58,6 @@ and
.Xr div 3 ,
.Xr imaxdiv 3 ,
.Xr ldiv 3 ,
-.Xr math 3 ,
.Xr qdiv 3
.Sh STANDARDS
The
diff --git a/lib/libc/stdlib/qabs.3 b/lib/libc/stdlib/qabs.3
index e022e9c1f4e..b12dc59276b 100644
--- a/lib/libc/stdlib/qabs.3
+++ b/lib/libc/stdlib/qabs.3
@@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: qabs.3,v 1.11 2007/05/31 19:19:31 jmc Exp $
+.\" $OpenBSD: qabs.3,v 1.12 2011/07/07 13:30:28 jmc Exp $
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: July 7 2011 $
.Dt QABS 3
.Os
.Sh NAME
@@ -51,7 +51,6 @@ function returns the absolute value of the quad integer
.Xr cabs 3 ,
.Xr floor 3 ,
.Xr imaxabs 3 ,
-.Xr labs 3 ,
-.Xr math 3
+.Xr labs 3
.Sh BUGS
The absolute value of the most negative integer remains negative.
diff --git a/lib/libc/stdlib/qdiv.3 b/lib/libc/stdlib/qdiv.3
index 59776bdf2db..94e3bdffb6a 100644
--- a/lib/libc/stdlib/qdiv.3
+++ b/lib/libc/stdlib/qdiv.3
@@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: qdiv.3,v 1.8 2007/05/31 19:19:31 jmc Exp $
+.\" $OpenBSD: qdiv.3,v 1.9 2011/07/07 13:30:28 jmc Exp $
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: July 7 2011 $
.Dt QDIV 3
.Os
.Sh NAME
@@ -58,5 +58,4 @@ and
.Xr div 3 ,
.Xr imaxdiv 3 ,
.Xr ldiv 3 ,
-.Xr lldiv 3 ,
-.Xr math 3
+.Xr lldiv 3