summaryrefslogtreecommitdiffstats
path: root/lib/msun/man/atan.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/msun/man/atan.3')
-rw-r--r--lib/msun/man/atan.331
1 files changed, 16 insertions, 15 deletions
diff --git a/lib/msun/man/atan.3 b/lib/msun/man/atan.3
index 2c2bd64..ef119f1 100644
--- a/lib/msun/man/atan.3
+++ b/lib/msun/man/atan.3
@@ -28,12 +28,13 @@
.\" from: @(#)atan.3 5.1 (Berkeley) 5/2/91
.\" $FreeBSD$
.\"
-.Dd May 2, 1991
+.Dd July 31, 2008
.Dt ATAN 3
.Os
.Sh NAME
.Nm atan ,
-.Nm atanf
+.Nm atanf ,
+.Nm atanl
.Nd arc tangent functions of one variable
.Sh LIBRARY
.Lb libm
@@ -43,21 +44,18 @@
.Fn atan "double x"
.Ft float
.Fn atanf "float x"
+.Ft long double
+.Fn atanl "long double x"
.Sh DESCRIPTION
The
-.Fn atan
-and the
-.Fn atanf
+.Fn atan ,
+.Fn atanf ,
+and
+.Fn atanl
functions compute the principal value of the arc tangent of
.Fa x .
-For a discussion of error due to roundoff, see
-.Xr math 3 .
.Sh RETURN VALUES
-The
-.Fn atan
-and the
-.Fn atanf
-function returns the arc tangent in the range
+These functions return the arc tangent in the range
.Bk -words
.Bq -\*(Pi/2 , +\*(Pi/2
.Ek
@@ -75,6 +73,9 @@ radians.
.Xr tanh 3
.Sh STANDARDS
The
-.Fn atan
-function conforms to
-.St -isoC .
+.Fn atan ,
+.Fn atanf ,
+and
+.Fn atanl
+functions conform to
+.St -isoC-99 .
OpenPOWER on IntegriCloud