Re: Documentation fix regarding atan2 - Mailing list pgsql-general

From Tom Lane
Subject Re: Documentation fix regarding atan2
Date
Msg-id 27516.1188962723@sss.pgh.pa.us
Whole thread Raw
In response to Re: Documentation fix regarding atan2  (Bruno Wolff III <bruno@wolff.to>)
List pgsql-general
Bruno Wolff III <bruno@wolff.to> writes:
>  Andrew Maclean <andrew.amaclean@gmail.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

pgsql-general by date:

Previous
From: Gregory Stark
Date:
Subject: Re: Controlling locale and impact on LIKE statements
Next
From: Alvaro Herrera
Date:
Subject: Re: How to 'register' functions, so they can be called (plpythonu)