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

[cmplx.over] Should we reorder the paragraphs? #7273

Open
frederick-vs-ja opened this issue Sep 30, 2024 · 0 comments
Open

[cmplx.over] Should we reorder the paragraphs? #7273

frederick-vs-ja opened this issue Sep 30, 2024 · 0 comments

Comments

@frederick-vs-ja
Copy link
Contributor

It seems that [cmplx.over]/2 should be applied to all functions mentioned in [cmplx.over], so that the result type of std::pow(std::complex<float>(1.0f), 1l) isn't accidently changed by P1467R9. I attempted to submit an LWG issue for reverting the possible type change, and there shouldn't be one if I just misread the wording.

However, if [cmplx.over]/2 is applied to all mentioned functions, the paragraph is perhaps misplaced, and IMO it should be move to the top or the bottom of [cmplx.over] (possibly with some rewording).

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

No branches or pull requests

1 participant