| От | Bruno Wolff III |
|---|---|
| Тема | atan2 documentation bugs for 7.3 and 7.2 |
| Дата | |
| Msg-id | 20020906045948.GA14517@wolff.to обсуждение |
| Ответы |
Re: atan2 documentation bugs for 7.3 and 7.2
|
| Список | pgsql-bugs |
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.
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера