Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 99520475E1D for ; Sat, 7 Sep 2002 15:12:02 -0400 (EDT) Received: from wolff.to (wolff.to [66.92.219.49]) by postgresql.org (Postfix) with SMTP id 9E1F8475B67 for ; Sat, 7 Sep 2002 15:12:01 -0400 (EDT) Received: (qmail 30986 invoked by uid 500); 7 Sep 2002 19:19:41 -0000 Date: Sat, 7 Sep 2002 14:19:41 -0500 From: Bruno Wolff III To: pgsql-docs@postgresql.org Subject: atan2 documentation bugs for 7.3 and 7.2 Message-ID: <20020907191941.GA30941@wolff.to> Mail-Followup-To: pgsql-docs@postgresql.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.25i X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/22 X-Sequence-Number: 1474 I think that I reported this to the wrong place. I seem to remember now that documentation problems should go to the docs list. ----- Forwarded message from Bruno Wolff III ----- Date: Thu, 5 Sep 2002 23:59:48 -0500 From: Bruno Wolff III To: pgsql-bugs@postgresql.org Subject: atan2 documentation bugs for 7.3 and 7.2 Mail-Followup-To: pgsql-bugs@postgresql.org User-Agent: Mutt/1.3.25i In the section on mathematical functions the following is given for atan2: atan2(x, y) inverse tangent of a/x I believe the correct version should either be: atan2(y, x) inverse tangent of y/x or atan2(x, y) inverse tangent of x/y I beleive the documentation was also wrong for 7.2 where it was: atan2(x, y) inverse tangent of y/x The postgres functions seems to be the same as glibc function of the same name when has the following man information: double atan2(double y, double x); DESCRIPTION The atan2() function calculates the arc tangent of the two variables x and y. It is similar to calculating the arc tangent of y / x, except that the signs of both arguments are used to determine the quadrant of the result. ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster ----- End forwarded message -----