cvs commit: src/lib/msun Makefile src/lib/msun/src fabsl.c
s_fabsl.c
Stefan Farfeleder
stefan at fafoe.narf.at
Sat Oct 25 03:56:06 PDT 2003
On Sat, Oct 25, 2003 at 02:32:18AM -0700, Dag-Erling Smorgrav wrote:
> Added files:
> lib/msun/src s_fabsl.c
Here is an update for the man page.
Stefan
-------------- next part --------------
Index: /usr/home/stefan/freebsd/src/lib/msun/man/fabs.3
===================================================================
RCS file: /usr/home/ncvs/src/lib/msun/man/fabs.3,v
retrieving revision 1.9
diff -u -r1.9 fabs.3
--- /usr/home/stefan/freebsd/src/lib/msun/man/fabs.3 13 Oct 2001 12:23:23 -0000 1.9
+++ /usr/home/stefan/freebsd/src/lib/msun/man/fabs.3 25 Oct 2003 10:52:13 -0000
@@ -33,12 +33,13 @@
.\" from: @(#)fabs.3 5.1 (Berkeley) 5/2/91
.\" $FreeBSD: src/lib/msun/man/fabs.3,v 1.9 2001/10/13 12:23:23 bde Exp $
.\"
-.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,10 @@
.Fn fabs
function conforms to
.St -isoC .
+The
+.Fn fabsf
+and the
+.Fn fabsl
+functions conform to
+.St -isoC-99 .
+
More information about the cvs-src
mailing list