Re: Documentation fix regarding atan2

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Documentation fix regarding atan2
Дата
Msg-id 27516.1188962723@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Documentation fix regarding atan2  (Bruno Wolff III <bruno@wolff.to>)
Список 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 по дате отправления:

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: Controlling locale and impact on LIKE statements
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: How to 'register' functions, so they can be called (plpythonu)