The std::complex is a type template for storing complex numbers.
The template is guaranteed to be specialized for float, double and long double; however, the standard library implementations can offer additional specializations.
Compiler Explorer link: https://compiler-explorer.com/z/6Ydejcaqb
@simontoth But can it do complex numbers in the wrongest way?