Module Name:    src
Committed By:   nros
Date:           Thu Mar 17 00:00:44 UTC 2016

Modified Files:
        src/distrib/sets/lists/comp: mi
        src/lib/libm: Makefile
        src/lib/libm/man: fabs.3

Log Message:
Add fabsl to the manpage describing the fabs functions.


To generate a diff of this commit:
cvs rdiff -u -r1.2021 -r1.2022 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.174 -r1.175 src/lib/libm/Makefile
cvs rdiff -u -r1.15 -r1.16 src/lib/libm/man/fabs.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.2021 src/distrib/sets/lists/comp/mi:1.2022
--- src/distrib/sets/lists/comp/mi:1.2021	Wed Mar 16 05:32:09 2016
+++ src/distrib/sets/lists/comp/mi	Thu Mar 17 00:00:44 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: mi,v 1.2021 2016/03/16 05:32:09 mrg Exp $
+#	$NetBSD: mi,v 1.2022 2016/03/17 00:00:44 nros Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 ./etc/mtree/set.comp				comp-sys-root
@@ -6195,6 +6195,7 @@
 ./usr/share/man/cat3/extattr_string_to_namespace.0	comp-c-catman		.cat
 ./usr/share/man/cat3/fabs.0			comp-c-catman		.cat
 ./usr/share/man/cat3/fabsf.0			comp-c-catman		.cat
+./usr/share/man/cat3/fabsl.0			comp-c-catman		.cat
 ./usr/share/man/cat3/fast_divide32.0		comp-c-catman		.cat
 ./usr/share/man/cat3/fast_divide32_prepare.0	comp-c-catman		.cat
 ./usr/share/man/cat3/fast_remainder32.0		comp-c-catman		.cat
@@ -13196,6 +13197,7 @@
 ./usr/share/man/html3/extattr_string_to_namespace.html	comp-c-htmlman		html
 ./usr/share/man/html3/fabs.html			comp-c-htmlman		html
 ./usr/share/man/html3/fabsf.html		comp-c-htmlman		html
+./usr/share/man/html3/fabsl.html		comp-c-htmlman		html
 ./usr/share/man/html3/fast_divide32.html		comp-c-htmlman		html
 ./usr/share/man/html3/fast_divide32_prepare.html	comp-c-htmlman		html
 ./usr/share/man/html3/fast_remainder32.html		comp-c-htmlman		html
@@ -20106,6 +20108,7 @@
 ./usr/share/man/man3/extattr_string_to_namespace.3	comp-c-man		.man
 ./usr/share/man/man3/fabs.3			comp-c-man		.man
 ./usr/share/man/man3/fabsf.3			comp-c-man		.man
+./usr/share/man/man3/fabsl.3			comp-c-man		.man
 ./usr/share/man/man3/fast_divide32.3		comp-c-man		.man
 ./usr/share/man/man3/fast_divide32_prepare.3	comp-c-man		.man
 ./usr/share/man/man3/fast_remainder32.3		comp-c-man		.man

Index: src/lib/libm/Makefile
diff -u src/lib/libm/Makefile:1.174 src/lib/libm/Makefile:1.175
--- src/lib/libm/Makefile:1.174	Tue Dec 29 16:57:35 2015
+++ src/lib/libm/Makefile	Thu Mar 17 00:00:44 2016
@@ -1,4 +1,4 @@
-#  $NetBSD: Makefile,v 1.174 2015/12/29 16:57:35 christos Exp $
+#  $NetBSD: Makefile,v 1.175 2016/03/17 00:00:44 nros Exp $
 #
 #  @(#)Makefile 5.1beta 93/09/24
 #
@@ -339,7 +339,8 @@ MLINKS+=log.3 logf.3 \
 	log.3 log2.3 \
 	log.3 log2f.3
 MLINKS+=pow.3 powf.3
-MLINKS+=fabs.3 fabsf.3
+MLINKS+=fabs.3 fabsf.3 \
+	fabs.3 fabsl.3
 MLINKS+=finite.3 finitef.3
 MLINKS+=fmod.3 fmodf.3 \
 	fmod.3 fmodl.3

Index: src/lib/libm/man/fabs.3
diff -u src/lib/libm/man/fabs.3:1.15 src/lib/libm/man/fabs.3:1.16
--- src/lib/libm/man/fabs.3:1.15	Tue Sep 13 07:11:43 2011
+++ src/lib/libm/man/fabs.3	Thu Mar 17 00:00:44 2016
@@ -26,15 +26,16 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     from: @(#)fabs.3	5.1 (Berkeley) 5/2/91
-.\"	$NetBSD: fabs.3,v 1.15 2011/09/13 07:11:43 njoly Exp $
+.\"	$NetBSD: fabs.3,v 1.16 2016/03/17 00:00:44 nros Exp $
 .\"
 .Dd May 2, 1991
 .Dt FABS 3
 .Os
 .Sh NAME
 .Nm fabs ,
-.Nm fabsf
-.Nd floating-point absolute value function
+.Nm fabsf,
+.Nm fabsl
+.Nd floating-point absolute value functions
 .Sh LIBRARY
 .Lb libm
 .Sh SYNOPSIS
@@ -43,17 +44,20 @@
 .Fn fabs "double x"
 .Ft float
 .Fn fabsf "float x"
+.Ft long double
+.Fn fabs "long double x"
 .Sh DESCRIPTION
 The
-.Fn fabs
-and
+.Fn fabs ,
 .Fn fabsf
+and
+.Fn fabsl
 functions compute the absolute value of a floating-point number
 .Fa x .
 .Sh RETURN VALUES
-The
+Functions of the
 .Fn fabs
-function returns the absolute value of
+family return the absolute value of
 .Fa x .
 .Sh SEE ALSO
 .Xr abs 3 ,
@@ -66,3 +70,9 @@ The
 .Fn fabs
 function conforms to
 .St -ansiC .
+The
+.Fn fabsf
+and
+.Fn fabsl
+functions conform to
+.St -isoC-99 .

Reply via email to