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

constrain vectorizable std::complex specializations #84

Open
mattkretz opened this issue Sep 1, 2023 · 0 comments
Open

constrain vectorizable std::complex specializations #84

mattkretz opened this issue Sep 1, 2023 · 0 comments
Assignees
Labels
bug Something isn't working / specified correctly

Comments

@mattkretz
Copy link
Owner

mattkretz commented Sep 1, 2023

https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2663r3.html#word_general adds all possible std::complex specializations to the set of vectorizable types. I don't think that's correct. At the very least the T in std::complex<T> must itself be a vectorizable type. But something more elaborate might be necessary because of how std::complex only reliably works for floating-point types.

@mattkretz mattkretz added the bug Something isn't working / specified correctly label Sep 1, 2023
@mattkretz mattkretz added this to the P2664R4 (complex) milestone Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working / specified correctly
Projects
Status: No status
Development

No branches or pull requests

2 participants