Module Name: src Committed By: he Date: Sun Sep 13 10:58:30 UTC 2015
Modified Files: src/distrib/sets/lists/comp: mi src/lib/libm: Makefile src/lib/libm/man: nextafter.3 Log Message: Add entry for nexttowardf(3) and a link for the function name. Bump manual page date. To generate a diff of this commit: cvs rdiff -u -r1.1986 -r1.1987 src/distrib/sets/lists/comp/mi cvs rdiff -u -r1.169 -r1.170 src/lib/libm/Makefile cvs rdiff -u -r1.4 -r1.5 src/lib/libm/man/nextafter.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/distrib/sets/lists/comp/mi diff -u src/distrib/sets/lists/comp/mi:1.1986 src/distrib/sets/lists/comp/mi:1.1987 --- src/distrib/sets/lists/comp/mi:1.1986 Sun Sep 13 09:46:30 2015 +++ src/distrib/sets/lists/comp/mi Sun Sep 13 10:58:30 2015 @@ -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 Index: src/lib/libm/Makefile diff -u src/lib/libm/Makefile:1.169 src/lib/libm/Makefile:1.170 --- src/lib/libm/Makefile:1.169 Sun Sep 13 09:46:30 2015 +++ src/lib/libm/Makefile Sun Sep 13 10:58:30 2015 @@ -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 @@ MLINKS+=modf.3 modff.3 \ 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 \ Index: src/lib/libm/man/nextafter.3 diff -u src/lib/libm/man/nextafter.3:1.4 src/lib/libm/man/nextafter.3:1.5 --- src/lib/libm/man/nextafter.3:1.4 Sun Sep 18 05:33:14 2011 +++ src/lib/libm/man/nextafter.3 Sun Sep 13 10:58:30 2015 @@ -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 <jruoho...@iki.fi> .\" 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 @@ The three functions differ only in the t .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