http://d.puremagic.com/issues/show_bug.cgi?id=3661



--- Comment #6 from Andrei Alexandrescu <and...@metalanguage.com> 2010-01-31 
10:33:45 PST ---
(In reply to comment #5)
> (In reply to comment #4)
> > Floating-point exponents means the result type must be complex, which at 
> > least
> > for the moment complicates migrating to a library-only implementation of
> > complex numbers.
> 
> No, it only means that some results will be NaN's. :)
> 
> But yes, complex result should also be supported, this can be determined when
> left operand (base) is also complex (but then in many cases imaginary parts
> will be 0, which is waste).

-1.0^^0.5 has complex type.

> BTW. I don't see anything wrong with compiler implemntation of complex 
> numbers.
> Actually i see them supperior to the library-only implemntation.

In that case it would be great if you came forth with the appropriate
arguments. We just convinced ourselves that superiority goes the other way
around.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to