summaryrefslogtreecommitdiffstats
path: root/lib/msun
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2003-10-25 13:45:11 +0000
committerdes <des@FreeBSD.org>2003-10-25 13:45:11 +0000
commit681563239de2f0c45edd4a7c5b34921a9dcd3e16 (patch)
treec08fea58ff034ebd122b38e9e40d37197bd82eb0 /lib/msun
parentf3f47335310538209fe12266b619a61b025d60ba (diff)
downloadFreeBSD-src-681563239de2f0c45edd4a7c5b34921a9dcd3e16.zip
FreeBSD-src-681563239de2f0c45edd4a7c5b34921a9dcd3e16.tar.gz
Document fabsl(3).
Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
Diffstat (limited to 'lib/msun')
-rw-r--r--lib/msun/man/fabs.325
1 files changed, 19 insertions, 6 deletions
diff --git a/lib/msun/man/fabs.3 b/lib/msun/man/fabs.3
index f81a32b..4b8cb08 100644
--- a/lib/msun/man/fabs.3
+++ b/lib/msun/man/fabs.3
@@ -33,12 +33,13 @@
.\" from: @(#)fabs.3 5.1 (Berkeley) 5/2/91
.\" $FreeBSD$
.\"
-.Dd May 2, 1991
+.Dd October 25, 2003
.Dt FABS 3
.Os
.Sh NAME
.Nm fabs ,
-.Nm fabsf
+.Nm fabsf ,
+.Nm fabsl
.Nd floating-point absolute value functions
.Sh LIBRARY
.Lb libm
@@ -48,18 +49,24 @@
.Fn fabs "double x"
.Ft float
.Fn fabsf "float x"
+.Ft long double
+.Fn fabsl "long double x"
.Sh DESCRIPTION
The
-.Fn fabs
-and the
+.Fn fabs ,
+the
.Fn fabsf
+and the
+.Fn fabsl
functions compute the absolute value of a floating-point number
.Fa x .
.Sh RETURN VALUES
The
-.Fn fabs
-and the
+.Fn fabs ,
+the
.Fn fabsf
+and the
+.Fn fabsl
functions return the absolute value of
.Fa x .
.Sh SEE ALSO
@@ -74,3 +81,9 @@ The
.Fn fabs
function conforms to
.St -isoC .
+The
+.Fn fabsf
+and the
+.Fn fabsl
+functions conform to
+.St -isoC-99 .
OpenPOWER on IntegriCloud