Re: Documentation fix regarding atan2

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruno Wolff III <bruno(at)wolff(dot)to>
Cc: a(dot)maclean(at)cas(dot)edu(dot)au, pgsql-general(at)postgresql(dot)org
Subject: Re: Documentation fix regarding atan2
Date: 2007-09-05 03:25:23
Message-ID: 27516.1188962723@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Bruno Wolff III <bruno(at)wolff(dot)to> writes:
> Andrew Maclean <andrew(dot)amaclean(at)gmail(dot)com> wrote:
>> In Table 9.4 of the documentation atan2 is described as follows:
>> atan2(*x*, *y*) inverse tangent of *x*/*y*
>>
>> I am sure it should read as:
>> atan2(*y*, x) inverse tangent of y/x

> Aren't those two statements sayiong the same thing?

They're logically equivalent but I think Andrew is right that y/x
corresponds to the usual interpretation of X and Y directions in
trigonometry.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2007-09-05 03:32:39 Re: How to 'register' functions, so they can be called (plpythonu)
Previous Message Andrew Maclean 2007-09-05 03:24:44 Re: Documentation fix regarding atan2