Add fabsl to the manpage describing the fabs functions.

This commit is contained in:
nros 2016-03-17 00:00:44 +00:00
parent 0c71d630f2
commit cf57e34dd1
3 changed files with 24 additions and 10 deletions

View File

@ -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

View File

@ -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

View File

@ -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 .