summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2006-03-05 09:10:18 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2006-03-05 09:10:18 +0000
commit7b3d3f6ac6e41ca070e1894e656cb86eebcf3bb3 (patch)
treedc17090859b3481b457addd92fba18e18925279a
parente2b48e4fd27885e7adbc4f390767d3c4526be2dd (diff)
improvements from alexey dobriyan;
ok miod kettenis
-rw-r--r--lib/libm/man/atan2.313
1 files changed, 9 insertions, 4 deletions
diff --git a/lib/libm/man/atan2.3 b/lib/libm/man/atan2.3
index 74c96be18e0..54d2392eb05 100644
--- a/lib/libm/man/atan2.3
+++ b/lib/libm/man/atan2.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: atan2.3,v 1.9 2003/06/02 20:18:41 millert Exp $
+.\" $OpenBSD: atan2.3,v 1.10 2006/03/05 09:10:17 jmc Exp $
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
@@ -88,13 +88,18 @@ if
< 0,
.It Ta
.No 0 Ta
-if x = y = 0, or
+if
+.Ar x
+=
+.Ar y
+= 0, or
.It Ta
.Pf sign( Ar y Ns )*\\*(Pi/2 Ta
if
.Ar x
-= 0 \*(!=
-.Ar y .
+= 0,
+.Ar y
+!= 0.
.El
.Sh NOTES
The function