summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libm/man/floor.310
-rw-r--r--lib/libm/man/fmod.36
-rw-r--r--lib/libm/man/hypot.311
-rw-r--r--lib/libm/man/j0.348
4 files changed, 52 insertions, 23 deletions
diff --git a/lib/libm/man/floor.3 b/lib/libm/man/floor.3
index 8d6be3267c4..35a0f519348 100644
--- a/lib/libm/man/floor.3
+++ b/lib/libm/man/floor.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: floor.3,v 1.6 2000/03/02 00:29:49 todd Exp $
+.\" $OpenBSD: floor.3,v 1.7 2003/02/27 01:45:03 jason Exp $
.\" Copyright (c) 1985, 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
@@ -48,11 +48,13 @@
.Sh DESCRIPTION
The
.Fn floor
-and
-.Fn floorf
-functions return the largest integral value
+function returns the largest integral value
less than or equal to
.Fa x .
+The
+.Fn floorf
+function is a single precision version of
+.Fn floor .
.Sh SEE ALSO
.Xr abs 3 ,
.Xr ceil 3 ,
diff --git a/lib/libm/man/fmod.3 b/lib/libm/man/fmod.3
index fc9bac50029..a9bf1804b85 100644
--- a/lib/libm/man/fmod.3
+++ b/lib/libm/man/fmod.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fmod.3,v 1.5 2000/03/02 00:29:49 todd Exp $
+.\" $OpenBSD: fmod.3,v 1.6 2003/02/27 01:45:03 jason Exp $
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
@@ -50,6 +50,10 @@ The
.Fn fmod
function computes the floating-point remainder of
.Fa x Ns / Fa y .
+The
+.Fn fmodf
+function is a single precision version of
+.Fn fmod .
.Sh RETURN VALUES
The
.Fn fmod
diff --git a/lib/libm/man/hypot.3 b/lib/libm/man/hypot.3
index ce4b44118fd..237ef74fe32 100644
--- a/lib/libm/man/hypot.3
+++ b/lib/libm/man/hypot.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: hypot.3,v 1.7 2000/03/02 00:29:49 todd Exp $
+.\" $OpenBSD: hypot.3,v 1.8 2003/02/27 01:45:03 jason Exp $
.\" Copyright (c) 1985, 1991 Regents of the University of California.
.\" All rights reserved.
.\"
@@ -61,6 +61,15 @@ computes the
sqrt(x*x+y*y)
in such a way that underflow will not happen, and overflow
occurs only if the final result deserves it.
+The
+.Fn hypotf
+and
+.Fn cabsf
+functions are single precision versions of
+.Fn hypot
+and
+.Fn cabs ,
+respectively.
.Pp
.Fn hypot "\*(If" "v"
=
diff --git a/lib/libm/man/j0.3 b/lib/libm/man/j0.3
index d25248647c2..269a2a759e0 100644
--- a/lib/libm/man/j0.3
+++ b/lib/libm/man/j0.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: j0.3,v 1.8 2000/03/02 00:29:50 todd Exp $
+.\" $OpenBSD: j0.3,v 1.9 2003/02/27 01:45:03 jason Exp $
.\" Copyright (c) 1985, 1991 Regents of the University of California.
.\" All rights reserved.
.\"
@@ -77,11 +77,9 @@
.Fn ynf "int n" "float x"
.Sh DESCRIPTION
The functions
-.Fn j0 ,
-.Fn j0f ,
-.Fn j1
+.Fn j0
and
-.Fn j1f
+.Fn j1
compute the
.Em Bessel function of the first kind of the order
0 and the
@@ -90,22 +88,29 @@ compute the
for the
real value
.Fa x ;
-the functions
+the function
.Fn jn
-and
-.Fn jnf
-compute the
+computes the
.Em Bessel function of the first kind of the integer order
.Fa n
for the real value
.Fa x .
+The functions
+.Fn j0f ,
+.Fn j1f ,
+and
+.Fn jnf
+are single precision versions of
+.Fn j0 ,
+.Fn j1 ,
+and
+.Fn jn ,
+respectively.
.Pp
The functions
-.Fn y0 ,
-.Fn y0f ,
-.Fn y1
+.Fn y0
and
-.Fn y1f
+.Fn y1
compute the linearly independent
.Em Bessel function of the second kind of the order
0 and the
@@ -117,11 +122,9 @@ positive
value
.Fa x
(expressed as a double);
-the functions
+the function
.Fn yn
-and
-.Fn ynf
-compute the
+computes the
.Em Bessel function of the second kind for the integer order
.Fa n
for the positive
@@ -129,6 +132,17 @@ for the positive
value
.Fa x
(expressed as a double).
+The functions
+.Fn y0f ,
+.Fn y1f ,
+and
+.Fn ynf
+are single precision versions of
+.Fn y0 ,
+.Fn y1 ,
+and
+.Fn yn ,
+respectively.
.Sh RETURN VALUES
If these functions are successful,
the computed value is returned, otherwise the global variable