Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Add fabsl to the manpage describing the fabs functions.



details:   https://anonhg.NetBSD.org/src/rev/638269827054
branches:  trunk
changeset: 344210:638269827054
user:      nros <nros%NetBSD.org@localhost>
date:      Thu Mar 17 00:00:44 2016 +0000

description:
Add fabsl to the manpage describing the fabs functions.

diffstat:

 distrib/sets/lists/comp/mi |   5 ++++-
 lib/libm/Makefile          |   5 +++--
 lib/libm/man/fabs.3        |  24 +++++++++++++++++-------
 3 files changed, 24 insertions(+), 10 deletions(-)

diffs (110 lines):

diff -r fe3e97937d32 -r 638269827054 distrib/sets/lists/comp/mi
--- a/distrib/sets/lists/comp/mi        Wed Mar 16 23:52:53 2016 +0000
+++ b/distrib/sets/lists/comp/mi        Thu Mar 17 00:00:44 2016 +0000
@@ -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
diff -r fe3e97937d32 -r 638269827054 lib/libm/Makefile
--- a/lib/libm/Makefile Wed Mar 16 23:52:53 2016 +0000
+++ b/lib/libm/Makefile Thu Mar 17 00:00:44 2016 +0000
@@ -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 @@
        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
diff -r fe3e97937d32 -r 638269827054 lib/libm/man/fabs.3
--- a/lib/libm/man/fabs.3       Wed Mar 16 23:52:53 2016 +0000
+++ b/lib/libm/man/fabs.3       Thu Mar 17 00:00:44 2016 +0000
@@ -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
+.Fn fabs ,
+.Fn fabsf
 and
-.Fn fabsf
+.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 @@
 .Fn fabs
 function conforms to
 .St -ansiC .
+The
+.Fn fabsf
+and
+.Fn fabsl
+functions conform to
+.St -isoC-99 .



Home | Main Index | Thread Index | Old Index