Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hopefully uncontroversial changes from the DAL review feedback #98

Merged
merged 2 commits into from
Oct 17, 2023

Conversation

jd-au
Copy link
Member

@jd-au jd-au commented Oct 10, 2023

No description provided.

@jd-au jd-au requested a review from gmantele October 10, 2023 10:41
ADQL.tex Outdated
@@ -746,7 +746,7 @@ \subsection{Mathematical and Trigonometrical Functions}
\tabularnewline

\hline
atan2(y,x) &
atan2(x,y) &
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Somebody else sanity check this for me, but I believe that the original text atan2(y,x) is correct (i.e. the conventional order) and the suggested change to atan2(x,y) is wrong. See e.g. https://www.postgresql.org/docs/8.3/functions-math.html; also e.g.

select top 1 atan2(1,sqrt(3)) as pi_over_six from tap_schema.tables

from GAVO DC gives me PI/6 not PI/3. The same order is used for atan2 in other languages as well (java, python).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for picking that up. I have reverted the atan2 change.

@msdemlei
Copy link
Contributor

msdemlei commented Oct 10, 2023 via email

@jd-au jd-au merged commit 03bb558 into ivoa-std:master Oct 17, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants