Comparison of Imaginary types

Guillaume Piolat first.name at gmail.com
Thu Jul 2 16:33:28 UTC 2026


On Thursday, 2 July 2026 at 02:21:55 UTC, Damian McGuckin wrote:
>
> Are the "less than" and "greater than" operators supported on 
> the purely imaginary types which I find quite useful 
> occasionally?

Probably, but.
What would be the result then? It's clearer to write a.re < b.re 
|| a.im < b.im


More information about the Digitalmars-d-learn mailing list