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

Add support for complex number datatypes #129

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bogdanteleaga
Copy link

This PR aims to add support for complex number datatypes. Only tested with std::complex<float> but I imagine it works just as well with std::complex<double>.

This PR aims to add support for complex number datatypes. Only tested with `std::complex<float>` but I imagine it works just as well with `std::complex<double>`.
@serizba serizba force-pushed the master branch 2 times, most recently from 3326662 to c98a475 Compare February 28, 2022 10:20
@serizba
Copy link
Owner

serizba commented Sep 23, 2022

Hi @bogdanteleaga

Did you test this? Isn't float 32 bits, and double 64? You are using them as 64 and 128.

@serizba serizba added the awaiting-answer Awaiting reply from the author of the issue label Sep 23, 2022
@bogdanteleaga
Copy link
Author

Hello! I didn't end up using it, but I believe it's like that because the complex numbers are a pair of float/double.

@serizba
Copy link
Owner

serizba commented Sep 27, 2022

True, I will test this and include it

@serizba serizba added requires-testing Requires further testing before merging and removed awaiting-answer Awaiting reply from the author of the issue labels Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires-testing Requires further testing before merging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants