summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
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 /lib/libc/stdlib
parent8044b989e6d274cee2a24c222564b7c4b8508ab2 (diff)
no more math(3);
Diffstat (limited to 'lib/libc/stdlib')
-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
9 files changed, 23 insertions, 32 deletions
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