On Thursday, 2 July 2026 at 22:12:20 UTC, Damian McGuckin wrote:
Enough of the history. So, given
ifloat a = 2i;
ifloat b = 4i;
The comparison
a < b
is perfectly clear.
Where is the documentation on these deprecated ifloat and
cfloat types please?
AFAICT there wasn't really much in the spec, though I have found
this article comparing support to C++'s `complex` library type:
https://digitalmars.com/d/1.0/cppcomplex.html
`ifloat` should work the same as a `float`, except it's a
different type which doesn't implicitly convert.
Because a D compiler supporting ImportC needs C11 complex number
support, people have been talking about undeprecating D's complex
support.