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

std::complex output precision #2876

Open
Svalorzen opened this issue Jun 17, 2024 · 0 comments
Open

std::complex output precision #2876

Svalorzen opened this issue Jun 17, 2024 · 0 comments

Comments

@Svalorzen
Copy link

Description
As far as I understand, the class StringMaker is the one that controls how variables are printed to screen. float and double have their own specializations that expose a public precision which can be set by the user. std::complex has no such specialization, so it always gets printed with a default precision.

I'd like to be able to specify the precision for complex numbers as well.

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