summaryrefslogtreecommitdiff
path: root/lib/libm/man/atan2.3
diff options
context:
space:
mode:
authorMartynas Venckus <martynas@cvs.openbsd.org>2008-12-12 00:10:27 +0000
committerMartynas Venckus <martynas@cvs.openbsd.org>2008-12-12 00:10:27 +0000
commit34a2174c04d44a11755070b1c7538a65d4654147 (patch)
treee6d927568330b0f7f0efacfb04863ed5b027fc90 /lib/libm/man/atan2.3
parent640884e9454df0e2f2d1e3f07ac0aab9a0ff9ef3 (diff)
document and mlink long double functions. ok jmc@
Diffstat (limited to 'lib/libm/man/atan2.3')
-rw-r--r--lib/libm/man/atan2.318
1 files changed, 13 insertions, 5 deletions
diff --git a/lib/libm/man/atan2.3 b/lib/libm/man/atan2.3
index 795db059a1d..da783d74613 100644
--- a/lib/libm/man/atan2.3
+++ b/lib/libm/man/atan2.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: atan2.3,v 1.11 2007/05/31 19:19:35 jmc Exp $
+.\" $OpenBSD: atan2.3,v 1.12 2008/12/12 00:10:26 martynas Exp $
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
@@ -28,12 +28,13 @@
.\"
.\" from: @(#)atan2.3 5.1 (Berkeley) 5/2/91
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: December 12 2008 $
.Dt ATAN2 3
.Os
.Sh NAME
.Nm atan2 ,
-.Nm atan2f
+.Nm atan2f ,
+.Nm atan2l
.Nd arc tangent functions of two variables
.Sh SYNOPSIS
.Fd #include <math.h>
@@ -41,6 +42,8 @@
.Fn atan2 "double y" "double x"
.Ft float
.Fn atan2f "float y" "float x"
+.Ft long double
+.Fn atan2l "long double y" "long double x"
.Sh DESCRIPTION
The
.Fn atan2
@@ -52,11 +55,16 @@ The
.Fn atan2f
function is a single precision version of
.Fn atan2 .
+The
+.Fn atan2l
+function is an extended precision version of
+.Fn atan2 .
.Sh RETURN VALUES
The
-.Fn atan2
-and
+.Fn atan2 ,
.Fn atan2f
+and
+.Fn atan2l
functions, if successful,
return the arc tangent of
.Ar y/ Ns Ar x