Godbolt example: https://godbolt.org/z/rhd7vvT79
I'm having difficult with the types in , i.e. std::float16_t and std::float32_t. std::print can print a std::float16_t, but fmt::print cannot. Neither std::print or fmt::print can print a std::complex<std::float16_t>.
What is needed to format/print a std::complex<std::float16_t>? Is this something I can add a formatter for in my own code?
Thanks.
Godbolt example: https://godbolt.org/z/rhd7vvT79
I'm having difficult with the types in , i.e.
std::float16_tandstd::float32_t.std::printcan print astd::float16_t, butfmt::printcannot. Neitherstd::printorfmt::printcan print astd::complex<std::float16_t>.What is needed to format/print a
std::complex<std::float16_t>? Is this something I can add a formatter for in my own code?Thanks.