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

[c.math.hypot3] Fix the mis-specified double parameter of 3-argument hypot #5852

Merged
merged 1 commit into from Sep 19, 2022

Conversation

frederick-vs-ja
Copy link
Contributor

In P1467R9 and the current synopsis of <cmath> ([cmath.syn]), the last parameter of 3-argument overloads of std::hypot is specified with floating-point-type, but it is specified with double in [c.math.hypot3].

This looks like an editorial mistake, and thus I think we should consistently use floating-point-type.

@jensmaurer jensmaurer closed this Sep 18, 2022
@jensmaurer jensmaurer reopened this Sep 18, 2022
@tkoeppe
Copy link
Contributor

tkoeppe commented Sep 19, 2022

(Sorry for the comment noise (now deleted); I was erroneously thinking of and talking about #5670 (comment) discussed nexttoward, which has a mistaken overload specification.)

@tkoeppe tkoeppe merged commit 16f9215 into cplusplus:main Sep 19, 2022
@frederick-vs-ja frederick-vs-ja deleted the 3-arg-hypot-param branch September 19, 2022 23:28
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.

None yet

3 participants