Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Add entry for nexttowardf(3) and a link for the function name.
details: https://anonhg.NetBSD.org/src/rev/c6f3473ce5fe
branches: trunk
changeset: 340569:c6f3473ce5fe
user: he <he%NetBSD.org@localhost>
date: Sun Sep 13 10:58:30 2015 +0000
description:
Add entry for nexttowardf(3) and a link for the function name.
Bump manual page date.
diffstat:
distrib/sets/lists/comp/mi | 5 ++++-
lib/libm/Makefile | 5 +++--
lib/libm/man/nextafter.3 | 14 +++++++++-----
3 files changed, 16 insertions(+), 8 deletions(-)
diffs (103 lines):
diff -r c3cde51ac17e -r c6f3473ce5fe distrib/sets/lists/comp/mi
--- a/distrib/sets/lists/comp/mi Sun Sep 13 10:46:41 2015 +0000
+++ b/distrib/sets/lists/comp/mi Sun Sep 13 10:58:30 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1986 2015/09/13 09:46:30 he Exp $
+# $NetBSD: mi,v 1.1987 2015/09/13 10:58:30 he Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
#
@@ -7719,6 +7719,7 @@
./usr/share/man/cat3/nextafterf.0 comp-c-catman .cat
./usr/share/man/cat3/nextafterl.0 comp-c-catman .cat
./usr/share/man/cat3/nexttoward.0 comp-c-catman .cat
+./usr/share/man/cat3/nexttowardf.0 comp-c-catman .cat
./usr/share/man/cat3/nftw.0 comp-c-catman .cat
./usr/share/man/cat3/ngettext.0 comp-c-catman .cat
./usr/share/man/cat3/nice.0 comp-c-catman .cat
@@ -14625,6 +14626,7 @@
./usr/share/man/html3/nextafterf.html comp-c-htmlman html
./usr/share/man/html3/nextafterl.html comp-c-htmlman html
./usr/share/man/html3/nexttoward.html comp-c-htmlman html
+./usr/share/man/html3/nexttowardf.html comp-c-htmlman html
./usr/share/man/html3/nftw.html comp-c-htmlman html
./usr/share/man/html3/ngettext.html comp-c-htmlman html
./usr/share/man/html3/nice.html comp-c-htmlman html
@@ -21514,6 +21516,7 @@
./usr/share/man/man3/nextafterf.3 comp-c-man .man
./usr/share/man/man3/nextafterl.3 comp-c-man .man
./usr/share/man/man3/nexttoward.3 comp-c-man .man
+./usr/share/man/man3/nexttowardf.3 comp-c-man .man
./usr/share/man/man3/nftw.3 comp-c-man .man
./usr/share/man/man3/ngettext.3 comp-c-man .man
./usr/share/man/man3/nice.3 comp-c-man .man
diff -r c3cde51ac17e -r c6f3473ce5fe lib/libm/Makefile
--- a/lib/libm/Makefile Sun Sep 13 10:46:41 2015 +0000
+++ b/lib/libm/Makefile Sun Sep 13 10:58:30 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.169 2015/09/13 09:46:30 he Exp $
+# $NetBSD: Makefile,v 1.170 2015/09/13 10:58:30 he Exp $
#
# @(#)Makefile 5.1beta 93/09/24
#
@@ -348,7 +348,8 @@
modf.3 modfl.3
MLINKS+=nextafter.3 nextafterf.3 \
nextafter.3 nextafterl.3 \
- nextafter.3 nexttoward.3
+ nextafter.3 nexttoward.3 \
+ nextafter.3 nexttowardf.3
MLINKS+=lrint.3 lrintf.3 lrint.3 llrint.3 lrint.3 llrintf.3
MLINKS+=remainder.3 remainderf.3 \
remainder.3 remquo.3 \
diff -r c3cde51ac17e -r c6f3473ce5fe lib/libm/man/nextafter.3
--- a/lib/libm/man/nextafter.3 Sun Sep 13 10:46:41 2015 +0000
+++ b/lib/libm/man/nextafter.3 Sun Sep 13 10:58:30 2015 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: nextafter.3,v 1.4 2011/09/18 05:33:14 jruoho Exp $
+.\" $NetBSD: nextafter.3,v 1.5 2015/09/13 10:58:30 he Exp $
.\"
.\" Copyright (c) 2011 Jukka Ruohonen <jruohonen%iki.fi@localhost>
.\" All rights reserved.
@@ -24,18 +24,18 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd September 18, 2011
+.Dd September 13, 2015
.Dt NEXTAFTER 3
.Os
.Sh NAME
.Nm nextafter ,
.Nm nextafterf ,
.Nm nextafterl ,
-.Nm nexttoward
+.Nm nexttoward ,
+.Nm nexttowardf
.\"
.\" XXX: Not yet implemented.
.\"
-.\" .Nm nexttowardf ,
.\" .Nm nexttowardl
.\"
.Nd next representable floating-point number
@@ -51,6 +51,8 @@
.Fn nextafterl "long double x" "long double y"
.Ft double
.Fn nexttoward "double x" "long double y"
+.Ft float
+.Fn nexttowardf "float x" "long double y"
.Sh DESCRIPTION
The
.Fn nextafter ,
@@ -79,7 +81,9 @@
.Pp
The
.Fn nexttoward
-function is equivalent to the
+and
+.Fn nexttowardf
+functions are equivalent to the
.Fn nextafter
family of functions with two exceptions:
.Bl -enum -offset indent
Home |
Main Index |
Thread Index |
Old Index