Module Name: src Committed By: joerg Date: Tue Nov 12 00:10:29 UTC 2013
Modified Files: src/distrib/sets/lists/comp: mi src/lib/libm: Makefile src/lib/libm/man: ceil.3 round.3 Log Message: Man page entries for ceill, floorl and roundl. To generate a diff of this commit: cvs rdiff -u -r1.1854 -r1.1855 src/distrib/sets/lists/comp/mi cvs rdiff -u -r1.144 -r1.145 src/lib/libm/Makefile cvs rdiff -u -r1.19 -r1.20 src/lib/libm/man/ceil.3 cvs rdiff -u -r1.6 -r1.7 src/lib/libm/man/round.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.1854 src/distrib/sets/lists/comp/mi:1.1855 --- src/distrib/sets/lists/comp/mi:1.1854 Sat Nov 9 13:05:59 2013 +++ src/distrib/sets/lists/comp/mi Tue Nov 12 00:10:29 2013 @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.1854 2013/11/09 13:05:59 njoly Exp $ +# $NetBSD: mi,v 1.1855 2013/11/12 00:10:29 joerg Exp $ # # Note: don't delete entries from here - mark them as "obsolete" instead. # @@ -5706,6 +5706,7 @@ ./usr/share/man/cat3/cdk_viewer.0 comp-obsolete obsolete ./usr/share/man/cat3/ceil.0 comp-c-catman .cat ./usr/share/man/cat3/ceilf.0 comp-c-catman .cat +./usr/share/man/cat3/ceill.0 comp-c-catman .cat ./usr/share/man/cat3/cexp.0 comp-c-catman complex,.cat ./usr/share/man/cat3/cexpf.0 comp-c-catman complex,.cat ./usr/share/man/cat3/cfgetispeed.0 comp-c-catman .cat @@ -6264,6 +6265,7 @@ ./usr/share/man/cat3/flockfile.0 comp-c-catman .cat ./usr/share/man/cat3/floor.0 comp-c-catman .cat ./usr/share/man/cat3/floorf.0 comp-c-catman .cat +./usr/share/man/cat3/floorl.0 comp-c-catman .cat ./usr/share/man/cat3/fls32.0 comp-c-catman .cat ./usr/share/man/cat3/fls64.0 comp-c-catman .cat ./usr/share/man/cat3/flushinp.0 comp-c-catman .cat @@ -8483,6 +8485,7 @@ ./usr/share/man/cat3/rmtops.0 comp-c-catman .cat ./usr/share/man/cat3/round.0 comp-c-catman .cat ./usr/share/man/cat3/roundf.0 comp-c-catman .cat +./usr/share/man/cat3/roundl.0 comp-c-catman .cat ./usr/share/man/cat3/rpc.0 comp-c-catman .cat ./usr/share/man/cat3/rpc_broadcast.0 comp-c-catman .cat ./usr/share/man/cat3/rpc_broadcast_exp.0 comp-c-catman .cat @@ -12276,6 +12279,7 @@ ./usr/share/man/html3/cdefs.html comp-c-htmlman html ./usr/share/man/html3/ceil.html comp-c-htmlman html ./usr/share/man/html3/ceilf.html comp-c-htmlman html +./usr/share/man/html3/ceill.html comp-c-htmlman html ./usr/share/man/html3/cexp.html comp-c-htmlman complex,html ./usr/share/man/html3/cexpf.html comp-c-htmlman complex,html ./usr/share/man/html3/cfgetispeed.html comp-c-htmlman html @@ -12817,6 +12821,7 @@ ./usr/share/man/html3/flockfile.html comp-c-htmlman html ./usr/share/man/html3/floor.html comp-c-htmlman html ./usr/share/man/html3/floorf.html comp-c-htmlman html +./usr/share/man/html3/floorl.html comp-c-htmlman html ./usr/share/man/html3/fls32.html comp-c-htmlman html ./usr/share/man/html3/fls64.html comp-c-htmlman html ./usr/share/man/html3/flushinp.html comp-c-htmlman html @@ -14991,6 +14996,7 @@ ./usr/share/man/html3/rmtops.html comp-c-htmlman html ./usr/share/man/html3/round.html comp-c-htmlman html ./usr/share/man/html3/roundf.html comp-c-htmlman html +./usr/share/man/html3/roundl.html comp-c-htmlman html ./usr/share/man/html3/rpc.html comp-c-htmlman html ./usr/share/man/html3/rpc_broadcast.html comp-c-htmlman html ./usr/share/man/html3/rpc_broadcast_exp.html comp-c-htmlman html @@ -18726,6 +18732,7 @@ ./usr/share/man/man3/cdk_viewer.3 comp-obsolete obsolete ./usr/share/man/man3/ceil.3 comp-c-man .man ./usr/share/man/man3/ceilf.3 comp-c-man .man +./usr/share/man/man3/ceill.3 comp-c-man .man ./usr/share/man/man3/cexp.3 comp-c-man complex,.man ./usr/share/man/man3/cexpf.3 comp-c-man complex,.man ./usr/share/man/man3/cfgetispeed.3 comp-c-man .man @@ -19284,6 +19291,7 @@ ./usr/share/man/man3/flockfile.3 comp-c-man .man ./usr/share/man/man3/floor.3 comp-c-man .man ./usr/share/man/man3/floorf.3 comp-c-man .man +./usr/share/man/man3/floorl.3 comp-c-man .man ./usr/share/man/man3/fls32.3 comp-c-man .man ./usr/share/man/man3/fls64.3 comp-c-man .man ./usr/share/man/man3/flushinp.3 comp-c-man .man @@ -21503,6 +21511,7 @@ ./usr/share/man/man3/rmtops.3 comp-c-man .man ./usr/share/man/man3/round.3 comp-c-man .man ./usr/share/man/man3/roundf.3 comp-c-man .man +./usr/share/man/man3/roundl.3 comp-c-man .man ./usr/share/man/man3/rpc.3 comp-c-man .man ./usr/share/man/man3/rpc_broadcast.3 comp-c-man .man ./usr/share/man/man3/rpc_broadcast_exp.3 comp-c-man .man Index: src/lib/libm/Makefile diff -u src/lib/libm/Makefile:1.144 src/lib/libm/Makefile:1.145 --- src/lib/libm/Makefile:1.144 Mon Nov 11 23:57:34 2013 +++ src/lib/libm/Makefile Tue Nov 12 00:10:29 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.144 2013/11/11 23:57:34 joerg Exp $ +# $NetBSD: Makefile,v 1.145 2013/11/12 00:10:29 joerg Exp $ # # @(#)Makefile 5.1beta 93/09/24 # @@ -263,8 +263,10 @@ MLINKS+=atan.3 atanf.3 MLINKS+=atan2.3 atan2f.3 MLINKS+=atanh.3 atanhf.3 MLINKS+=ceil.3 ceilf.3 \ + ceil.3 ceill.3 \ ceil.3 floor.3 \ - ceil.3 floorf.3 + ceil.3 floorf.3 \ + ceil.3 floorl.3 MLINKS+=copysign.3 copysignf.3 \ copysign.3 copysignl.3 MLINKS+=cos.3 cosf.3 @@ -309,7 +311,8 @@ MLINKS+=sin.3 sinhf.3 MLINKS+=sqrt.3 sqrtf.3 sqrt.3 cbrt.3 sqrt.3 cbrtf.3 MLINKS+=tan.3 tanf.3 MLINKS+=tanh.3 tanhf.3 -MLINKS+=round.3 roundf.3 +MLINKS+=round.3 roundf.3 \ + round.3 roundl.3 MLINKS+=trunc.3 truncf.3 MLINKS+=fmax.3 fmaxl.3 MLINKS+=fmax.3 fmaxf.3 Index: src/lib/libm/man/ceil.3 diff -u src/lib/libm/man/ceil.3:1.19 src/lib/libm/man/ceil.3:1.20 --- src/lib/libm/man/ceil.3:1.19 Sun Sep 18 05:33:13 2011 +++ src/lib/libm/man/ceil.3 Tue Nov 12 00:10:29 2013 @@ -26,16 +26,18 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)ceil.3 5.1 (Berkeley) 5/2/91 -.\" $NetBSD: ceil.3,v 1.19 2011/09/18 05:33:13 jruoho Exp $ +.\" $NetBSD: ceil.3,v 1.20 2013/11/12 00:10:29 joerg Exp $ .\" -.Dd September 18, 2011 +.Dd November 12, 2013 .Dt CEIL 3 .Os .Sh NAME .Nm ceil , .Nm ceilf , +.Nm ceill , .Nm floor , .Nm floorf +.Nm floorl .Nd ceiling and floor .Sh LIBRARY .Lb libm @@ -45,22 +47,28 @@ .Fn ceil "double x" .Ft float .Fn ceilf "float x" +.Ft long double +.Fn ceill "long double x" .Ft double .Fn floor "double x" .Ft float .Fn floorf "float x" +.Ft long double +.Fn floorl "long double x" .Sh DESCRIPTION The -.Fn ceil +.Fn ceil , +.Fn ceilf , and -.Fn ceilf +.Fn ceill functions return the smallest integral value greater than or equal to .Fa x . Conversely, the -.Fn floor +.Fn floor , +.Fn floorf , and -.Fn floorf +.Fn floorl functions return the largest integral value less than or equal to .Fa x . Index: src/lib/libm/man/round.3 diff -u src/lib/libm/man/round.3:1.6 src/lib/libm/man/round.3:1.7 --- src/lib/libm/man/round.3:1.6 Tue Sep 13 07:11:43 2011 +++ src/lib/libm/man/round.3 Tue Nov 12 00:10:29 2013 @@ -1,4 +1,4 @@ -.\" $NetBSD: round.3,v 1.6 2011/09/13 07:11:43 njoly Exp $ +.\" $NetBSD: round.3,v 1.7 2013/11/12 00:10:29 joerg Exp $ .\" .\" Copyright (c) 2003, Steven G. Kargl .\" All rights reserved. @@ -26,12 +26,13 @@ .\" .\" $FreeBSD: src/lib/msun/man/round.3,v 1.2 2004/06/20 09:27:17 das Exp $ .\" -.Dd July 15, 2004 +.Dd November 12, 2013 .Dt ROUND 3 .Os .Sh NAME .Nm round , -.Nm roundf +.Nm roundf , +.Nm roundl .Nd round to nearest integral value .Sh LIBRARY .Lb libm @@ -41,11 +42,14 @@ .Fn round "double x" .Ft float .Fn roundf "float x" +.Ft long double +.Fn roundl "long double x" .Sh DESCRIPTION The -.Fn round +.Fn round , +.Fn roundf , and -.Fn roundf +.Fn roundl functions return the nearest integral value to .Fa x ; if