complex number support

jmh530 john.michael.hall at gmail.com
Wed Feb 4 18:48:03 UTC 2026


On Wednesday, 4 February 2026 at 17:19:36 UTC, Quirin Schroll 
wrote:
> [snip]
>
> It wouldn’t be too terrible if object.d had this:
> ```d
> version(ImaginarySupport)
> {
>     alias ifloat  = __imaginary(float);
>     alias idouble = __imaginary(double);
>     alias ireal   = __imaginary(real);
> }
> version(ComplexSupport)
> {
>     alias cfloat  = __complex(float);
>     alias cdouble = __complex(double);
>     alias creal   = __complex(real);
> }
> ```

What about `core.complex`?


More information about the Digitalmars-d mailing list