cppflow icon indicating copy to clipboard operation
cppflow copied to clipboard

Add support for complex number datatypes

Open bogdanteleaga opened this issue 3 years ago • 3 comments

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>.

bogdanteleaga avatar Jun 12 '21 04:06 bogdanteleaga

Hi @bogdanteleaga

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

serizba avatar Sep 23 '22 16:09 serizba

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.

bogdanteleaga avatar Sep 25 '22 02:09 bogdanteleaga

True, I will test this and include it

serizba avatar Sep 27 '22 13:09 serizba