complex number support

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Wed Feb 4 05:22:55 UTC 2026


On 04/02/2026 6:14 PM, Walter Bright wrote:
> It's becoming clear that I cannot avoid supporting complex numbers in 
> the code generator for AArch64:
> 
> 1. deprecating creal and use std.complex instead doesn't help since we 
> need to support old code
> 
> 2. C has complex real and imaginary real types, which need to be 
> supported as well.
> 
> I'm giving up and am just going to support complex types in the code 
> generator.

I'm reminded of a certain comment you once made about extern(C++) about 
how it was not worth the effort, until it was a few years later.

Both (u)cent and float16 are in the same boat.



More information about the Digitalmars-d mailing list